Created
May 29, 2013 14:53
-
-
Save melix/5670897 to your computer and use it in GitHub Desktop.
Apply local tweaks to a Gradle build if user.gradle is present
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
// here goes the conf | |
... | |
// append this | |
if (file('user.gradle').exists()) { | |
apply from: 'user.gradle' // if a user file is present, tweak the build (add tasks, ...). This file should not be in VCS. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My user.gradle would contain things like this, for example: