mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-20 05:28:22 +00:00
29 lines
640 B
Groovy
29 lines
640 B
Groovy
apply plugin: 'java'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compile 'javax.json:javax.json-api:1.1.4', 'org.glassfish:javax.json:1.1.4', 'com.beust:jcommander:1.72', 'org.bouncycastle:bcmail-jdk15on:1.59'
|
|
testCompile 'org.testng:testng:6.8.8'
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes("Main-Class": "hirs.swid.Main",
|
|
"Class-Path": configurations.runtime.files.collect { "lib/$it.name" }.join(' ')
|
|
)
|
|
}
|
|
from(configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {}
|
|
exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA'
|
|
}
|
|
|
|
uploadArchives {
|
|
repositories {
|
|
flatDir {
|
|
dirs "${buildDir}"
|
|
}
|
|
}
|
|
}
|