HIRS/tools/tcg_rim_tool/build.gradle
chubtub 1f52dd3c27
[#217] Support reading conf settings from a json file (#218)
* 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
2020-02-21 07:43:40 -05:00

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}"
}
}
}