2017-12-01 23:04:29 +00:00
|
|
|
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'
|
2017-12-11 10:06:29 +00:00
|
|
|
archiveName "hsm-${version}.jar"
|
2017-12-01 23:04:29 +00:00
|
|
|
capsuleManifest {
|
2017-12-12 11:31:52 +00:00
|
|
|
applicationVersion = corda_release_version
|
2017-12-01 23:04:29 +00:00
|
|
|
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
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
artifacts {
|
|
|
|
runtimeArtifacts buildHsmJAR
|
|
|
|
publish buildHsmJAR
|
|
|
|
}
|
|
|
|
|
2017-12-08 16:28:28 +00:00
|
|
|
jar {
|
|
|
|
classifier "ignore"
|
|
|
|
}
|
|
|
|
|
2017-12-01 23:04:29 +00:00
|
|
|
publish {
|
|
|
|
name 'doorman-hsm'
|
|
|
|
disableDefaultJar = true
|
|
|
|
}
|