22 lines
522 B
Groovy
22 lines
522 B
Groovy
apply plugin : 'java'
|
|
apply plugin : 'application'
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
dependencies {
|
|
implementation project(':greeting-library')
|
|
implementation project(':greeting-library-java')
|
|
|
|
implementation group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.4.11', ext: 'jar'
|
|
}
|
|
|
|
mainClassName = 'greeter.Greeter'
|
|
run {
|
|
if (project.hasProperty("appArgs")) {
|
|
args Eval.me(appArgs)
|
|
}
|
|
else
|
|
args = ["Baeldung"];
|
|
}
|