mirror of
https://github.com/corda/corda.git
synced 2024-12-29 01:08:57 +00:00
5be7d5c4f1
* enforce backwards compatibility of new CLI's * move Shell yml
43 lines
1.0 KiB
Groovy
43 lines
1.0 KiB
Groovy
apply plugin: 'kotlin'
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
description 'Network bootstrapper'
|
|
|
|
dependencies {
|
|
compile project(':node-api')
|
|
compile project(':tools:cliutils')
|
|
compile "org.apache.logging.log4j:log4j-slf4j-impl:$log4j_version"
|
|
|
|
testCompile(project(':test-utils')) {
|
|
exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
|
|
}
|
|
|
|
testCompile(project(':test-cli'))
|
|
}
|
|
|
|
processResources {
|
|
from file("$rootDir/config/dev/log4j2.xml")
|
|
}
|
|
|
|
jar {
|
|
from(configurations.runtimeClasspath.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'
|
|
}
|
|
baseName = "network-bootstrapper"
|
|
manifest {
|
|
attributes(
|
|
'Main-Class': 'net.corda.bootstrapper.MainKt'
|
|
)
|
|
}
|
|
}
|
|
|
|
publish {
|
|
name 'corda-tools-network-bootstrapper'
|
|
}
|