mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-30 09:49:00 +00:00
34 lines
625 B
Groovy
34 lines
625 B
Groovy
apply plugin: 'java'
|
|
apply plugin: 'checkstyle'
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
dependencies {
|
|
compile libs.commons_lang
|
|
|
|
testCompile libs.mockito
|
|
testCompile 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
|
|
}
|
|
}
|
|
}
|
|
|
|
|