LazerBanana :
I have searched on Gradle docs and on the stackoverflow and some other places but I can't find information about what is bundled in this task in depth, or I missed it, if so please point me to the direction.
- It comes from
java-base
plugin, right? - Running
gradle -q tasks
doesn't say much about it.
build - Assembles and tests this project.
Running
gradle help --task build
shows detailed info, ok - but it show where the task is used, in which groups is included, type of a task, and paths.I have tried to track manually what does comes with it, and noticed, compile, test etc tasks.
I would like to know what exactly comes from Gradle build task, what are the task dependencies.
lance-java :
You can use the Gradle Task Tree Plugin to see the task dependencies
eg:
plugins {
id "com.dorongold.task-tree" version "1.3.1"
}
Then run
gradle build taskTree
Output
:build
+--- :assemble
| \--- :jar
| \--- :classes
| +--- :compileJava
| \--- :processResources
\--- :check
\--- :test
+--- :classes
| +--- :compileJava
| \--- :processResources
\--- :testClasses
+--- :compileTestJava
| \--- :classes
| +--- :compileJava
| \--- :processResources
\--- :processTestResources
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=427960&siteId=1