java-tutorials/gradle/greeter/build.gradle

19 lines
317 B
Groovy

apply plugin : 'java'
apply plugin : 'application'
dependencies {
compile project(':greeting-library')
compile project(':greeting-library-java')
}
mainClassName = 'greeter.Greeter'
run {
if (project.hasProperty("appArgs")) {
args Eval.me(appArgs)
}
else
args = ["Baeldung"];
}