Skip to content

Instantly share code, notes, and snippets.

@melix
melix / build.gradle
Created May 29, 2013 14:53
Apply local tweaks to a Gradle build if user.gradle is present
// 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.
}