Skip to content

Commit

Permalink
BAEL-4371: Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorin Zamfir committed Aug 31, 2020
1 parent ec65716 commit f4d7eea
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
16 changes: 16 additions & 0 deletions gradle-5/cmd-line-args/build.gradle
Original file line number Diff line number Diff line change
@@ -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"
}

}
}

3 changes: 2 additions & 1 deletion gradle-5/settings.gradle
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit f4d7eea

Please sign in to comment.