Skip to content

Instantly share code, notes, and snippets.

@xconnecting
Created November 8, 2012 03:41
Show Gist options
  • Save xconnecting/4036593 to your computer and use it in GitHub Desktop.
Save xconnecting/4036593 to your computer and use it in GitHub Desktop.
hasProperty method in Gradle Task
defaultTasks 'checkProperty'
task checkProperty << {
println hasProperty('test')
println project.hasProperty('test')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment