2023-08-29 19:15:34 +00:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
// id 'checkstyle'
|
|
|
|
}
|
2018-09-06 13:47:33 +00:00
|
|
|
|
2023-08-29 19:15:34 +00:00
|
|
|
java {
|
|
|
|
toolchain {
|
|
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
|
|
}
|
|
|
|
}
|
2018-09-06 13:47:33 +00:00
|
|
|
|
2023-08-29 19:15:34 +00:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
2018-09-06 13:47:33 +00:00
|
|
|
|
2023-08-29 19:15:34 +00:00
|
|
|
flatDir { dirs "lib" }
|
2018-09-06 13:47:33 +00:00
|
|
|
}
|
|
|
|
|
2023-08-29 19:15:34 +00:00
|
|
|
dependencies {
|
|
|
|
implementation 'org.apache.commons:commons-lang3:3.13.0'
|
2018-09-06 13:47:33 +00:00
|
|
|
|
2023-08-29 19:15:34 +00:00
|
|
|
// testCompile libs.mockito
|
2024-01-24 19:28:35 +00:00
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter:5.9.3'
|
|
|
|
testImplementation 'org.junit.platform:junit-platform-launcher:1.9.3'
|
|
|
|
testImplementation 'org.hamcrest:hamcrest:2.2'
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
2018-09-06 13:47:33 +00:00
|
|
|
}
|
|
|
|
|
2023-08-29 19:15:34 +00:00
|
|
|
//ext.configDir = new File(projectDir, 'config')
|
|
|
|
//ext.checkstyleConfigDir = "$configDir/checkstyle"
|
|
|
|
|
|
|
|
//checkstyle {
|
|
|
|
// toolVersion = '5.7'
|
|
|
|
// configFile = checkstyleConfigFile
|
|
|
|
// configProperties.put('basedir', checkstyleConfigDir)
|
|
|
|
// ignoreFailures = false
|
|
|
|
// showViolations = true
|
|
|
|
//}
|
|
|
|
//
|
|
|
|
//publishing {
|
|
|
|
// publications {
|
|
|
|
// maven(MavenPublication) {
|
|
|
|
// artifactId 'hirs-structs'
|
|
|
|
// from components.java
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
//}
|
2018-09-06 13:47:33 +00:00
|
|
|
|
|
|
|
|