mirror of
https://github.com/corda/corda.git
synced 2024-12-19 21:17:58 +00:00
3046843d40
The list of CorDapps jars is no longer passed in via the cmd line but is now expected to be placed in the bootstrapped directory. Ended up being a bit of a refactor to cater for unit testing, and also tidied up the bootstrapper docs.
37 lines
1.0 KiB
Groovy
37 lines
1.0 KiB
Groovy
apply plugin: 'java'
|
|
apply plugin: 'kotlin'
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
description 'Network bootstrapper'
|
|
|
|
dependencies {
|
|
compile project(':node-api')
|
|
compile "info.picocli:picocli:$picocli_version"
|
|
compile "org.slf4j:jul-to-slf4j:$slf4j_version"
|
|
compile "org.apache.logging.log4j:log4j-slf4j-impl:$log4j_version"
|
|
compile "com.jcabi:jcabi-manifests:$jcabi_manifests_version"
|
|
}
|
|
|
|
jar {
|
|
from(configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {
|
|
exclude "META-INF/*.SF"
|
|
exclude "META-INF/*.DSA"
|
|
exclude "META-INF/*.RSA"
|
|
}
|
|
from(project(':node:capsule').tasks['buildCordaJAR']) {
|
|
rename 'corda-(.*)', 'corda.jar'
|
|
}
|
|
archiveName = "network-bootstrapper-${corda_release_version}.jar"
|
|
manifest {
|
|
attributes(
|
|
'Automatic-Module-Name': 'net.corda.bootstrapper',
|
|
'Main-Class': 'net.corda.bootstrapper.MainKt'
|
|
)
|
|
}
|
|
}
|
|
|
|
publish {
|
|
name 'corda-tools-network-bootstrapper'
|
|
}
|