mirror of
https://github.com/corda/corda.git
synced 2024-12-22 14:22:28 +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.
51 lines
1.1 KiB
Groovy
51 lines
1.1 KiB
Groovy
description 'Corda Shell CLI'
|
|
|
|
apply plugin: 'application'
|
|
// We need to set mainClassName before applying the shadow plugin.
|
|
mainClassName = 'net.corda.tools.shell.StandaloneShellKt'
|
|
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
apply plugin: 'net.corda.plugins.publish-utils'
|
|
apply plugin: 'com.jfrog.artifactory'
|
|
|
|
dependencies {
|
|
compile project(':tools:shell')
|
|
compile project(':tools:cliutils')
|
|
compile project(":common-logging")
|
|
compile "org.apache.logging.log4j:log4j-slf4j-impl:$log4j_version"
|
|
compile "org.slf4j:jul-to-slf4j:$slf4j_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")
|
|
}
|
|
|
|
shadowJar {
|
|
mergeServiceFiles()
|
|
}
|
|
|
|
task buildShellCli(dependsOn: shadowJar)
|
|
assemble.dependsOn buildShellCli
|
|
|
|
artifacts {
|
|
publish shadowJar {
|
|
classifier = ""
|
|
}
|
|
}
|
|
|
|
jar {
|
|
classifier "ignore"
|
|
enabled = false
|
|
}
|
|
|
|
publish {
|
|
disableDefaultJar = true
|
|
name 'corda-tools-shell-cli'
|
|
}
|