java-tutorials/gradle-modules/gradle/greeter/build.gradle

19 lines
429 B
Groovy
Raw Normal View History

apply plugin : 'java'
apply plugin : 'application'
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"];
}