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 buildDoormanJAR(type: FatCapsule, dependsOn: ':network-management:jar') {
|
|
|
|
applicationClass 'com.r3.corda.networkmanage.doorman.MainKt'
|
|
|
|
archiveName "doorman-${version}-capsule.jar"
|
|
|
|
capsuleManifest {
|
|
|
|
applicationVersion = corda_dependency_version
|
|
|
|
systemProperties['visualvm.display.name'] = 'Doorman'
|
|
|
|
minJavaVersion = '1.8.0'
|
|
|
|
jvmArgs = ['-XX:+UseG1GC']
|
|
|
|
}
|
|
|
|
applicationSource = files(
|
|
|
|
project(':network-management').configurations.runtime,
|
|
|
|
project(':network-management').jar
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
artifacts {
|
|
|
|
runtimeArtifacts buildDoormanJAR
|
2017-12-08 16:28:28 +00:00
|
|
|
publish buildDoormanJAR {
|
|
|
|
classifier ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
jar {
|
|
|
|
classifier "ignore"
|
2017-12-01 23:04:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
publish {
|
|
|
|
name 'doorman'
|
|
|
|
disableDefaultJar = true
|
|
|
|
}
|