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

This commit is contained in:
Tommy Lillehagen 2018-07-19 11:49:58 +01:00 committed by Katelyn Baker
parent d75da5363a
commit 63a3671b17
2 changed files with 24 additions and 1 deletions

View File

@ -326,7 +326,8 @@ bintrayConfig {
'corda-confidential-identities',
'corda-network-builder',
'corda-blob-inspector',
'corda-network-bootstrapper'
'corda-network-bootstrapper',
'corda-tools-explorer'
]
license {
name = 'Apache-2.0'

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()
@ -49,3 +55,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'
}