CORDA-1674 - Publish Node Explorer artefact (#3437)

This commit is contained in:
Tommy Lillehagen 2018-06-26 10:46:04 +01:00 committed by GitHub
parent 14810f25de
commit 1d95ffba3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

View File

@ -356,6 +356,7 @@ bintrayConfig {
'corda-serialization',
'corda-serialization-deterministic',
'corda-tools-blob-inspector',
'corda-tools-explorer',
'corda-tools-network-bootstrapper'
]
license {

View File

@ -2,9 +2,15 @@
* This build.gradle exists to package Node Explorer as an executable fat jar.
*/
apply plugin: 'us.kirchmeier.capsule'
apply plugin: 'net.corda.plugins.publish-utils'
apply plugin: 'com.jfrog.artifactory'
description 'Node Explorer'
configurations {
runtimeArtifacts.extendsFrom runtime
}
repositories {
mavenLocal()
mavenCentral()
@ -47,3 +53,19 @@ task buildExplorerJAR(type: FatCapsule, dependsOn: project(':tools:explorer').co
}
build.dependsOn buildExplorerJAR
artifacts {
runtimeArtifacts buildExplorerJAR
publish buildExplorerJAR {
classifier ""
}
}
jar {
classifier "ignore"
}
publish {
disableDefaultJar = true
name 'corda-tools-explorer'
}