mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-20 05:28:22 +00:00
6ae5a18f99
Add KeyName (subjectKeyIdentifier) and KeyValue (public key) to KeyInfo element Implement --privateKeyFile and --publicCertificate in JCommander Implement -v in JCommander. Clean up unit tests. Implement support for PKCS1 in CredentialParser class. Truncate # symbol after parsing subject key identifier Close input streams in CredentialParser class Closes #237
32 lines
575 B
Groovy
32 lines
575 B
Groovy
apply plugin: 'java'
|
|
version = '1.0'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compile libs.minimal_json
|
|
compile libs.jcommander
|
|
compile libs.bouncy_castle
|
|
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) }) {}
|
|
exclude 'META-INF/*.RSA', 'META-INF/*.SF', 'META-INF/*.DSA'
|
|
}
|
|
|
|
uploadArchives {
|
|
repositories {
|
|
flatDir {
|
|
dirs "${buildDir}"
|
|
}
|
|
}
|
|
}
|