mirror of
https://github.com/corda/corda.git
synced 2024-12-28 16:58:55 +00:00
789ce5d44a
* Initial implementation of the certificate generation tool * Adding trust store persisting * Addressing review comments * Adding certificate type to the certificate generation process. * Addressing review comments * Fixing typos * Changing keyOverride to 0 in examples and tests * Addressing review comments + rebasing * Adding CRL information to the certificate generation process * Generation tool refactoring * Addressing review comments
39 lines
1002 B
Groovy
39 lines
1002 B
Groovy
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'us.kirchmeier.capsule'
|
|
|
|
description 'HSM Certificate Generator'
|
|
|
|
version project(':network-management').version
|
|
|
|
configurations {
|
|
runtimeArtifacts.extendsFrom runtime
|
|
}
|
|
|
|
task buildHsmCertGeneratorJAR(type: FatCapsule, dependsOn: 'jar') {
|
|
applicationClass 'com.r3.corda.networkmanage.hsm.generator.MainKt'
|
|
archiveName "hsm-cert-generator-${version}.jar"
|
|
capsuleManifest {
|
|
applicationVersion = corda_release_version
|
|
systemProperties['visualvm.display.name'] = 'HSM Certificate Generator'
|
|
minJavaVersion = '1.8.0'
|
|
jvmArgs = ['-XX:+UseG1GC']
|
|
}
|
|
applicationSource = files(
|
|
project(':network-management').configurations.runtime,
|
|
project(':network-management').jar
|
|
)
|
|
}
|
|
|
|
artifacts {
|
|
runtimeArtifacts buildHsmCertGeneratorJAR
|
|
publish buildHsmCertGeneratorJAR
|
|
}
|
|
|
|
jar {
|
|
classifier "ignore"
|
|
}
|
|
|
|
publish {
|
|
name 'hsm-cert-generator'
|
|
disableDefaultJar = true
|
|
} |