Created
February 26, 2015 06:58
-
-
Save maxov/7d9a59425503547dfcae to your computer and use it in GitHub Desktop.
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
project.getGradle().buildFinished { result -> | |
def failure = result.getFailure() | |
if (failure) { | |
def cause = failure.getCause().getCause().getCause() | |
throw new RuntimeException("no, this is what I want it to say!") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment