mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-21 05:53:27 +00:00
1f52dd3c27
* Support reading conf settings from a json file * Add optional RIM attributes * Add xml signature element * New commandline arguments for attributes conf file and privatekey or cert specification * Add fields to satisfy NIST checks * Print generated base rim contents to console also
29 lines
461 B
Groovy
29 lines
461 B
Groovy
apply plugin: 'java'
|
|
version = '1.0'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compile libs.minimal_json
|
|
testCompile libs.testng
|
|
}
|
|
|
|
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) }) {}
|
|
}
|
|
|
|
uploadArchives {
|
|
repositories {
|
|
flatDir {
|
|
dirs "${buildDir}"
|
|
}
|
|
}
|
|
}
|