mirror of
https://github.com/corda/corda.git
synced 2024-12-30 17:57:02 +00:00
44 lines
1.3 KiB
Groovy
44 lines
1.3 KiB
Groovy
/*
|
|
* R3 Proprietary and Confidential
|
|
*
|
|
* Copyright (c) 2018 R3 Limited. All rights reserved.
|
|
*
|
|
* The intellectual and technical concepts contained herein are proprietary to R3 and its suppliers and are protected by trade secret law.
|
|
*
|
|
* Distribution of this file or any portion thereof via any medium without the express permission of R3 is strictly prohibited.
|
|
*/
|
|
|
|
apply plugin: 'us.kirchmeier.capsule'
|
|
|
|
description 'Network bootstrapper'
|
|
|
|
configurations {
|
|
runtimeArtifacts
|
|
}
|
|
|
|
dependencies {
|
|
compile "org.slf4j:slf4j-nop:$slf4j_version"
|
|
}
|
|
|
|
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']
|
|
}
|
|
from(project(':node:capsule').tasks['buildCordaJAR']) {
|
|
rename 'corda-(.*)', 'corda.jar'
|
|
}
|
|
applicationSource = files(
|
|
project(':node-api').configurations.runtime,
|
|
project(':node-api').jar
|
|
)
|
|
}
|
|
|
|
artifacts {
|
|
runtimeArtifacts buildBootstrapperJar
|
|
}
|