Skip to content

Instantly share code, notes, and snippets.

@tfnico
Created August 14, 2012 07:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tfnico/3347098 to your computer and use it in GitHub Desktop.
Save tfnico/3347098 to your computer and use it in GitHub Desktop.
Example Gradle build that fails with missing property, even though it's not used in the invoked task
task release << {
println "Releasing version ${version}"
}
task buildBranch << {
println "Building branch ${branch}"
}
task tagBuildRepo(type: Exec) {
commandLine 'git', 'tag', "${tag}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment