2019-10-31 21:43:47 -04:00
|
|
|
apply plugin : 'java'
|
|
|
|
apply plugin : 'application'
|
|
|
|
|
|
|
|
dependencies {
|
2022-06-21 14:26:14 -04:00
|
|
|
implementation project(':greeting-library')
|
|
|
|
implementation project(':greeting-library-java')
|
|
|
|
|
|
|
|
implementation group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.4.11', ext: 'jar'
|
2019-10-31 21:43:47 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
mainClassName = 'greeter.Greeter'
|
|
|
|
run {
|
|
|
|
if (project.hasProperty("appArgs")) {
|
|
|
|
args Eval.me(appArgs)
|
|
|
|
}
|
|
|
|
else
|
|
|
|
args = ["Baeldung"];
|
|
|
|
}
|