Last active
December 31, 2015 02:39
-
-
Save lifuzu/7921682 to your computer and use it in GitHub Desktop.
Build phases
gradle test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
println 'This is executed during the configuration phase.' | |
task configurated { | |
println 'This is also executed during the configuration phase.' | |
} | |
task test << { | |
println 'This is executed during the execution phase.' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./gradlew test | |
This is executed during the initialization phase. | |
This is executed during the configuration phase. | |
This is also executed during the configuration phase. | |
:test | |
This is executed during the execution phase. | |
BUILD SUCCESSFUL | |
Total time: 4.951 secs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
println 'This is executed during the initialization phase.' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment