mirror of
https://github.com/corda/corda.git
synced 2024-12-30 17:57:02 +00:00
e4615f7f47
* Initial version of new(old) dialog that won't print a stacktrace for rpc exceptions. * Decoupled CordaVersionProvider. Moved common files to common-logging to lower dependencies on the node explorer. * Removed unused import and duplicate documentation comment. * Moved error code rewrite policy in the new common/logging module according to PR review. * Removed extra line. * Updated log4j configurations with new package name where logging policies will be contained. * Included common-logging module with cliutils.
47 lines
1.3 KiB
Groovy
47 lines
1.3 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 project(":common-logging")
|
|
compile project(':common-configuration-parsing')
|
|
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'))
|
|
testCompile "com.nhaarman:mockito-kotlin:$mockito_kotlin_version"
|
|
testCompile "org.mockito:mockito-core:$mockito_version"
|
|
}
|
|
|
|
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'
|
|
}
|