BAEL-4371: Initial commit

This commit is contained in:
Sorin Zamfir 2020-08-31 22:53:30 +03:00
parent d237c52a1f
commit 691a948c5f
2 changed files with 18 additions and 1 deletions

View 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"
}
}
}

View File

@ -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'