mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-21 13:57:56 +00:00
6a2c5d246b
The code has not been tested to provision. The url linkage needs to be worked on again.
46 lines
824 B
Groovy
46 lines
824 B
Groovy
plugins {
|
|
id 'java'
|
|
// id 'checkstyle'
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
|
|
flatDir { dirs "lib" }
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.apache.commons:commons-lang3:3.13.0'
|
|
|
|
// testCompile libs.mockito
|
|
testImplementation libs.testng
|
|
}
|
|
|
|
//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
|
|
// }
|
|
// }
|
|
//}
|
|
|
|
|