mirror of
https://github.com/corda/corda.git
synced 2024-12-28 16:58:55 +00:00
e4d2155671
Add version logging to hsm signing service
45 lines
1.1 KiB
Groovy
45 lines
1.1 KiB
Groovy
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'us.kirchmeier.capsule'
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
description 'Doorman default'
|
|
|
|
version project(':network-management').version
|
|
|
|
configurations {
|
|
runtimeArtifacts.extendsFrom runtime
|
|
}
|
|
|
|
task buildHsmJAR(type: FatCapsule, dependsOn: 'jar') {
|
|
applicationClass 'com.r3.corda.networkmanage.hsm.MainKt'
|
|
archiveName "hsm-${version}.jar"
|
|
capsuleManifest {
|
|
applicationVersion = corda_release_version
|
|
systemProperties['visualvm.display.name'] = 'HSM Signing Service'
|
|
minJavaVersion = '1.8.0'
|
|
jvmArgs = ['-XX:+UseG1GC']
|
|
}
|
|
applicationSource = files(
|
|
project(':network-management').configurations.runtime,
|
|
project(':network-management').jar
|
|
)
|
|
tasks.withType(Jar) { task ->
|
|
manifest {
|
|
attributes('Signing-Service-Version': version)
|
|
}
|
|
}
|
|
}
|
|
|
|
artifacts {
|
|
runtimeArtifacts buildHsmJAR
|
|
publish buildHsmJAR
|
|
}
|
|
|
|
jar {
|
|
classifier "ignore"
|
|
}
|
|
|
|
publish {
|
|
name 'doorman-hsm'
|
|
disableDefaultJar = true
|
|
} |