Created
April 15, 2016 06:42
-
-
Save kdabir/8d180b2f9d7e0109bab8b996281d6b22 to your computer and use it in GitHub Desktop.
Gradle do something on build failure
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
gradle.buildFinished { buildResult -> | |
if (buildResult.failure) { | |
println "do something on failure" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment