mirror of
https://github.com/corda/corda.git
synced 2025-02-28 20:06:25 +00:00
CORDA-2037 - Add network bootstrapper and other tools to published binary list (#4003)
* Publish tools to Artifactory: Blob Inspector, Network Bootstrapper (#3321) * Added missing plugin to enable publishing of artifact to Artifactory. * Remove references to experimental blobinspector * Remove disableDefaultJar for default jar. * Add additional artifacts to be published. * Fix bootstrapper publication problem. (#3370) * Fixed double JAR publishing problem with network bootstrapper. (#3354) Fixed merge issue
This commit is contained in:
parent
dbda50d92e
commit
861a76e380
23
build.gradle
23
build.gradle
@ -304,7 +304,28 @@ bintrayConfig {
|
|||||||
projectUrl = 'https://github.com/corda/corda'
|
projectUrl = 'https://github.com/corda/corda'
|
||||||
gpgSign = true
|
gpgSign = true
|
||||||
gpgPassphrase = System.getenv('CORDA_BINTRAY_GPG_PASSPHRASE')
|
gpgPassphrase = System.getenv('CORDA_BINTRAY_GPG_PASSPHRASE')
|
||||||
publications = ['corda-jfx', 'corda-mock', 'corda-rpc', 'corda-core', 'corda', 'corda-finance', 'corda-node', 'corda-node-api', 'corda-test-common', 'corda-test-utils', 'corda-jackson', 'corda-verifier', 'corda-webserver-impl', 'corda-webserver', 'corda-node-driver', 'corda-confidential-identities']
|
publications = [
|
||||||
|
'corda-jfx',
|
||||||
|
'corda-mock',
|
||||||
|
'corda-rpc',
|
||||||
|
'corda-core',
|
||||||
|
'corda',
|
||||||
|
'corda-finance',
|
||||||
|
'corda-node',
|
||||||
|
'corda-node-api',
|
||||||
|
'corda-test-common',
|
||||||
|
'corda-test-utils',
|
||||||
|
'corda-jackson',
|
||||||
|
'corda-verifier',
|
||||||
|
'corda-webserver-impl',
|
||||||
|
'corda-webserver',
|
||||||
|
'corda-node-driver',
|
||||||
|
'corda-confidential-identities',
|
||||||
|
'corda-shell',
|
||||||
|
'corda-serialization',
|
||||||
|
'corda-tools-blob-inspector',
|
||||||
|
'corda-tools-network-bootstrapper'
|
||||||
|
]
|
||||||
license {
|
license {
|
||||||
name = 'Apache-2.0'
|
name = 'Apache-2.0'
|
||||||
url = 'https://www.apache.org/licenses/LICENSE-2.0'
|
url = 'https://www.apache.org/licenses/LICENSE-2.0'
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
|
apply plugin: 'net.corda.plugins.publish-utils'
|
||||||
|
apply plugin: 'com.jfrog.artifactory'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':client:jackson')
|
compile project(':client:jackson')
|
||||||
@ -19,7 +21,7 @@ jar {
|
|||||||
exclude "META-INF/*.DSA"
|
exclude "META-INF/*.DSA"
|
||||||
exclude "META-INF/*.RSA"
|
exclude "META-INF/*.RSA"
|
||||||
}
|
}
|
||||||
baseName 'blobinspector'
|
archiveName = "blob-inspector-${corda_release_version}.jar"
|
||||||
manifest {
|
manifest {
|
||||||
attributes(
|
attributes(
|
||||||
'Automatic-Module-Name': 'net.corda.blobinspector',
|
'Automatic-Module-Name': 'net.corda.blobinspector',
|
||||||
@ -27,3 +29,7 @@ jar {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
publish {
|
||||||
|
name 'corda-tools-blob-inspector'
|
||||||
|
}
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
apply plugin: 'us.kirchmeier.capsule'
|
apply plugin: 'us.kirchmeier.capsule'
|
||||||
|
apply plugin: 'net.corda.plugins.publish-utils'
|
||||||
|
apply plugin: 'com.jfrog.artifactory'
|
||||||
|
|
||||||
description 'Network bootstrapper'
|
description 'Network bootstrapper'
|
||||||
|
|
||||||
@ -6,13 +8,17 @@ configurations {
|
|||||||
runtimeArtifacts
|
runtimeArtifacts
|
||||||
}
|
}
|
||||||
|
|
||||||
|
jar {
|
||||||
|
baseName "corda-tools-network-bootstrapper"
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.slf4j:slf4j-nop:$slf4j_version"
|
compile "org.slf4j:slf4j-nop:$slf4j_version"
|
||||||
}
|
}
|
||||||
|
|
||||||
task buildBootstrapperJar(type: FatCapsule, dependsOn: project(':node-api').compileJava) {
|
task buildBootstrapperJar(type: FatCapsule, dependsOn: project(':node-api').compileJava) {
|
||||||
applicationClass 'net.corda.nodeapi.internal.network.NetworkBootstrapper'
|
applicationClass 'net.corda.nodeapi.internal.network.NetworkBootstrapper'
|
||||||
archiveName "network-bootstrapper.jar"
|
archiveName "tools-network-bootstrapper-${corda_release_version}.jar"
|
||||||
capsuleManifest {
|
capsuleManifest {
|
||||||
applicationVersion = corda_release_version
|
applicationVersion = corda_release_version
|
||||||
systemProperties['visualvm.display.name'] = 'Network Bootstrapper'
|
systemProperties['visualvm.display.name'] = 'Network Bootstrapper'
|
||||||
@ -30,4 +36,16 @@ task buildBootstrapperJar(type: FatCapsule, dependsOn: project(':node-api').comp
|
|||||||
|
|
||||||
artifacts {
|
artifacts {
|
||||||
runtimeArtifacts buildBootstrapperJar
|
runtimeArtifacts buildBootstrapperJar
|
||||||
|
publish buildBootstrapperJar {
|
||||||
|
classifier ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
jar {
|
||||||
|
classifier "ignore"
|
||||||
|
}
|
||||||
|
|
||||||
|
publish {
|
||||||
|
disableDefaultJar = true
|
||||||
|
name 'corda-tools-network-bootstrapper'
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user