Created
May 11, 2013 13:09
-
-
Save ldaley/5559921 to your computer and use it in GitHub Desktop.
New capability in Gradle 1.6. Run all verifications (e.g. checkstyle, tests) on all projects (if they are to be executed in this build) before uploading anything. e.g. ./gradlew clean build uploadArchives Will only upload after all projects have been built and tested.
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
allprojects { | |
tasks.withType(Upload) { | |
allprojects { | |
mustRunAfter tasks.matching { it instanceof VerificationTask } | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment