2017-12-07 14:48:31 +00:00
|
|
|
apply plugin: 'us.kirchmeier.capsule'
|
2018-06-08 13:02:57 +00:00
|
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
|
|
apply plugin: 'com.jfrog.artifactory'
|
2017-12-07 14:48:31 +00:00
|
|
|
|
|
|
|
description 'Network bootstrapper'
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
runtimeArtifacts
|
|
|
|
}
|
|
|
|
|
2018-06-12 17:08:31 +00:00
|
|
|
jar {
|
|
|
|
baseName "corda-tools-network-bootstrapper"
|
|
|
|
}
|
|
|
|
|
2017-12-23 11:22:31 +00:00
|
|
|
dependencies {
|
|
|
|
compile "org.slf4j:slf4j-nop:$slf4j_version"
|
|
|
|
}
|
|
|
|
|
2017-12-07 14:48:31 +00:00
|
|
|
task buildBootstrapperJar(type: FatCapsule, dependsOn: project(':node-api').compileJava) {
|
|
|
|
applicationClass 'net.corda.nodeapi.internal.network.NetworkBootstrapper'
|
2018-06-12 17:08:31 +00:00
|
|
|
archiveName "tools-network-bootstrapper-${corda_release_version}.jar"
|
2017-12-07 14:48:31 +00:00
|
|
|
capsuleManifest {
|
|
|
|
applicationVersion = corda_release_version
|
|
|
|
systemProperties['visualvm.display.name'] = 'Network Bootstrapper'
|
|
|
|
minJavaVersion = '1.8.0'
|
|
|
|
jvmArgs = ['-XX:+UseG1GC']
|
|
|
|
}
|
2017-12-23 11:22:31 +00:00
|
|
|
from(project(':node:capsule').tasks['buildCordaJAR']) {
|
|
|
|
rename 'corda-(.*)', 'corda.jar'
|
|
|
|
}
|
2017-12-07 14:48:31 +00:00
|
|
|
applicationSource = files(
|
|
|
|
project(':node-api').configurations.runtime,
|
|
|
|
project(':node-api').jar
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
artifacts {
|
|
|
|
runtimeArtifacts buildBootstrapperJar
|
2018-06-08 13:02:57 +00:00
|
|
|
publish buildBootstrapperJar {
|
|
|
|
classifier ""
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-14 17:17:53 +00:00
|
|
|
jar {
|
|
|
|
classifier "ignore"
|
|
|
|
}
|
|
|
|
|
2018-06-08 13:02:57 +00:00
|
|
|
publish {
|
|
|
|
disableDefaultJar = true
|
2018-06-12 17:08:31 +00:00
|
|
|
name 'corda-tools-network-bootstrapper'
|
2017-12-07 14:48:31 +00:00
|
|
|
}
|