mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
00a5e3db6b
Copying of the node-info files moved out of Cordform and into NetworkParametersGenerator (which is now called NetworkBootstrapper). This class becomes an external tool to enable deployment of nodes in a test setup on a single filesystem.
28 lines
808 B
Groovy
28 lines
808 B
Groovy
apply plugin: 'us.kirchmeier.capsule'
|
|
|
|
description 'Network bootstrapper'
|
|
|
|
configurations {
|
|
runtimeArtifacts
|
|
}
|
|
|
|
// TODO Fix SLF4J warnings that occur when running the bootstrapper
|
|
task buildBootstrapperJar(type: FatCapsule, dependsOn: project(':node-api').compileJava) {
|
|
applicationClass 'net.corda.nodeapi.internal.network.NetworkBootstrapper'
|
|
archiveName "network-bootstrapper.jar"
|
|
capsuleManifest {
|
|
applicationVersion = corda_release_version
|
|
systemProperties['visualvm.display.name'] = 'Network Bootstrapper'
|
|
minJavaVersion = '1.8.0'
|
|
jvmArgs = ['-XX:+UseG1GC']
|
|
}
|
|
applicationSource = files(
|
|
project(':node-api').configurations.runtime,
|
|
project(':node-api').jar
|
|
)
|
|
}
|
|
|
|
artifacts {
|
|
runtimeArtifacts buildBootstrapperJar
|
|
}
|