mirror of
https://github.com/corda/corda.git
synced 2024-12-24 07:06:44 +00:00
ENT-1741 Build standalone shell JAR distribution - subsequent fix (#3476)
This commit is contained in:
parent
8f254a75ca
commit
470921afb9
@ -53,7 +53,7 @@ buildscript {
|
||||
ext.crash_version = 'cadb53544fbb3c0fb901445da614998a6a419488'
|
||||
ext.jsr305_version = constants.getProperty("jsr305Version")
|
||||
ext.shiro_version = '1.4.0'
|
||||
ext.shadow_version = '2.0.2'
|
||||
ext.shadow_version = '2.0.4'
|
||||
ext.artifactory_plugin_version = constants.getProperty('artifactoryPluginVersion')
|
||||
ext.artifactory_contextUrl = 'https://ci-artifactory.corda.r3cev.com/artifactory'
|
||||
ext.snake_yaml_version = constants.getProperty('snakeYamlVersion')
|
||||
|
@ -5,8 +5,8 @@ Documentation for shell CLI can be found [here](http://docs.corda.net/website/re
|
||||
|
||||
To build this from the command line on Unix or MacOS:
|
||||
|
||||
Run ``./gradlew tools:shell-cli:buildShellCli`` to create a fat JAR in ``tools/shell-cli/build/``
|
||||
Run ``./gradlew tools:shell-cli:buildShellCli`` to create a fat JAR in ``tools/shell-cli/build/libs``
|
||||
|
||||
To build this from the command line on Windows:
|
||||
|
||||
Run ``gradlew tools:shell-cli:buildShellCli`` to create a fat JAR in ``tools/shell-cli/build/``
|
||||
Run ``gradlew tools:shell-cli:buildShellCli`` to create a fat JAR in ``tools/shell-cli/build/libs``
|
||||
|
@ -8,7 +8,6 @@ buildscript {
|
||||
}
|
||||
dependencies {
|
||||
classpath "com.github.jengelman.gradle.plugins:shadow:$shadow_version"
|
||||
classpath 'de.sebastianboegl.gradle.plugins:shadow-log4j-transformer:2.1.1'
|
||||
}
|
||||
}
|
||||
|
||||
@ -21,9 +20,11 @@ mainClassName = 'net.corda.tools.shell.StandaloneShellKt'
|
||||
|
||||
dependencies {
|
||||
compile project(':tools:shell')
|
||||
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.25'
|
||||
compile group: 'org.slf4j', name: 'slf4j-simple', version: slf4j_version
|
||||
|
||||
testCompile project(':test-utils')
|
||||
testCompile(project(':test-utils')) {
|
||||
exclude group: 'org.apache.logging.log4j', module: 'log4j-slf4j-impl'
|
||||
}
|
||||
}
|
||||
|
||||
processResources {
|
||||
@ -31,9 +32,6 @@ processResources {
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
//transform(de.sebastianboegl.gradle.plugins.shadow.transformers.Log4j2PluginsFileTransformer)
|
||||
archiveName = "shell-cli-${version}.jar"
|
||||
|
||||
mergeServiceFiles()
|
||||
}
|
||||
|
||||
@ -47,9 +45,10 @@ artifacts {
|
||||
|
||||
jar {
|
||||
classifier "ignore"
|
||||
enabled = false
|
||||
}
|
||||
|
||||
publish {
|
||||
name 'corda-tools-shell-cli'
|
||||
disableDefaultJar = true
|
||||
name 'corda-tools-shell-cli'
|
||||
}
|
||||
|
@ -60,7 +60,7 @@ dependencies {
|
||||
// Manifests: for reading stuff from the manifest file.
|
||||
compile "com.jcabi:jcabi-manifests:1.1"
|
||||
|
||||
// For logging.
|
||||
// For logging, required for ANSIProgressRenderer.
|
||||
compile "org.apache.logging.log4j:log4j-core:${log4j_version}"
|
||||
|
||||
// Unit testing helpers.
|
||||
|
Loading…
Reference in New Issue
Block a user