2020-04-25 01:32:20 -04:00
|
|
|
|
|
|
|
plugins {
|
|
|
|
id 'application'
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'application'
|
|
|
|
mainClassName = 'employee.EmployeeApp'
|
|
|
|
|
2022-06-21 14:26:14 -04:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
2020-04-25 01:32:20 -04:00
|
|
|
|
|
|
|
println 'This is executed during configuration phase'
|
|
|
|
|
|
|
|
task configured {
|
|
|
|
println 'The project is configured'
|
|
|
|
}
|
|
|
|
|
2022-06-21 14:26:14 -04:00
|
|
|
wrapper {
|
2020-04-25 01:32:20 -04:00
|
|
|
gradleVersion = '5.3.1'
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
2022-06-21 14:26:14 -04:00
|
|
|
mavenCentral()
|
2020-04-25 01:32:20 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
2022-06-21 14:26:14 -04:00
|
|
|
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.10'
|
2020-04-25 01:32:20 -04:00
|
|
|
testImplementation('junit:junit:4.13')
|
2022-06-21 14:26:14 -04:00
|
|
|
testRuntimeOnly('junit:junit:4.13')
|
2020-04-25 01:32:20 -04:00
|
|
|
}
|
2022-06-21 14:26:14 -04:00
|
|
|
|
2020-04-25 01:32:20 -04:00
|
|
|
test {
|
|
|
|
useJUnit()
|
|
|
|
}
|
|
|
|
|