java-tutorials/gradle-modules/gradle/gradle-employee-app/build.gradle

37 lines
568 B
Groovy

plugins {
id 'application'
}
apply plugin: 'application'
mainClassName = 'employee.EmployeeApp'
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
println 'This is executed during configuration phase'
task configured {
println 'The project is configured'
}
wrapper {
gradleVersion = '5.3.1'
}
repositories {
mavenCentral()
}
dependencies {
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.10'
testImplementation('junit:junit:4.13')
testRuntimeOnly('junit:junit:4.13')
}
test {
useJUnit()
}