Last active
August 29, 2015 14:23
-
-
Save pallocchi/c5b60f28d115e693f792 to your computer and use it in GitHub Desktop.
Gradle lifecycle
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
task test { | |
println 'Esto se ejecuta durante la fase de configuración.' | |
} | |
task test << { | |
println 'Esto se ejecuta durante la fase de ejecución.' | |
} | |
task test.doFirst { | |
println 'Esto se ejecuta primero, durante la fase de ejecución' | |
} | |
task test.doLast { | |
println 'Esto se ejecuta último, durante la fase de ejecución.' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment