Skip to content

Instantly share code, notes, and snippets.

@xconnecting
Created November 14, 2012 05:43
Show Gist options
  • Save xconnecting/4070517 to your computer and use it in GitHub Desktop.
Save xconnecting/4070517 to your computer and use it in GitHub Desktop.
Gradle: Configure project property from other build script
// the contents of .gradle/other.gradle is:
// ext.prop1 = 'value1'
apply from: "${System.properties['user.home']}/.gradle/other.gradle"
task testProperties << {
println project.prop1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment