Created
November 8, 2012 03:41
-
-
Save xconnecting/4036593 to your computer and use it in GitHub Desktop.
hasProperty method in Gradle Task
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
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