BAEL-4371: Initial commit
This commit is contained in:
parent
d237c52a1f
commit
691a948c5f
|
@ -0,0 +1,16 @@
|
||||||
|
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"
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -2,3 +2,4 @@ rootProject.name='gradle-5-articles'
|
||||||
include 'java-exec'
|
include 'java-exec'
|
||||||
include 'unused-dependencies'
|
include 'unused-dependencies'
|
||||||
include 'source-sets'
|
include 'source-sets'
|
||||||
|
include 'cmd-line-args'
|
Loading…
Reference in New Issue