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