2018-06-23 10:36:10 +00:00
|
|
|
apply plugin: 'kotlin'
|
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'
|
|
|
|
|
2017-12-23 11:22:31 +00:00
|
|
|
dependencies {
|
2018-06-23 10:36:10 +00:00
|
|
|
compile project(':node-api')
|
2018-08-22 20:51:25 +00:00
|
|
|
compile project(':tools:cliutils')
|
2018-06-23 10:36:10 +00:00
|
|
|
compile "org.apache.logging.log4j:log4j-slf4j-impl:$log4j_version"
|
2018-09-14 13:37:52 +00:00
|
|
|
|
|
|
|
testCompile(project(':test-utils')) {
|
|
|
|
exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
|
|
|
|
}
|
|
|
|
|
|
|
|
testCompile(project(':test-cli'))
|
2018-09-13 10:14:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
processResources {
|
|
|
|
from file("$rootDir/config/dev/log4j2.xml")
|
2017-12-23 11:22:31 +00:00
|
|
|
}
|
|
|
|
|
2018-06-23 10:36:10 +00:00
|
|
|
jar {
|
2018-09-13 10:14:31 +00:00
|
|
|
from(configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }) {
|
2018-06-23 10:36:10 +00:00
|
|
|
exclude "META-INF/*.SF"
|
|
|
|
exclude "META-INF/*.DSA"
|
|
|
|
exclude "META-INF/*.RSA"
|
2017-12-07 14:48:31 +00:00
|
|
|
}
|
2017-12-23 11:22:31 +00:00
|
|
|
from(project(':node:capsule').tasks['buildCordaJAR']) {
|
|
|
|
rename 'corda-(.*)', 'corda.jar'
|
|
|
|
}
|
2018-09-13 10:14:31 +00:00
|
|
|
baseName = "network-bootstrapper"
|
2018-06-23 10:36:10 +00:00
|
|
|
manifest {
|
|
|
|
attributes(
|
|
|
|
'Main-Class': 'net.corda.bootstrapper.MainKt'
|
|
|
|
)
|
2018-06-08 13:02:57 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
publish {
|
2018-06-12 17:08:31 +00:00
|
|
|
name 'corda-tools-network-bootstrapper'
|
2017-12-07 14:48:31 +00:00
|
|
|
}
|