17 lines
324 B
Groovy
17 lines
324 B
Groovy
|
apply plugin: "java"
|
||
|
description = "Gradle Command Line Arguments examples"
|
||
|
|
||
|
|
||
|
|
||
|
task propertyTypes(){
|
||
|
doLast{
|
||
|
if (project.hasProperty('input')){
|
||
|
println "This is my property ["+ project.getProperty('input')+"]"
|
||
|
} else {
|
||
|
println "No property was passed"
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|