ENT-1823 Publish migration tool

This commit is contained in:
tudor.malene@gmail.com 2018-04-30 15:41:03 +01:00
parent e62d1f12c1
commit e49fbaa956
2 changed files with 20 additions and 5 deletions

View File

@ -350,7 +350,7 @@ bintrayConfig {
projectUrl = 'https://github.com/corda/corda'
gpgSign = true
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', 'doorman', 'doorman-hsm', 'corda-shell', 'corda-bridgeserver', 'corda-ptflows', 'jmeter-corda']
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', 'doorman', 'doorman-hsm', 'corda-shell', 'corda-bridgeserver', 'corda-ptflows', 'jmeter-corda', 'migration-tool']
license {
name = 'Apache-2.0'
url = 'https://www.apache.org/licenses/LICENSE-2.0'

View File

@ -22,14 +22,14 @@ buildscript {
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'application'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'net.corda.plugins.publish-utils'
apply plugin: 'com.jfrog.artifactory'
mainClassName = 'com.r3.corda.dbmigration.DBMigration'
dependencies{
dependencies {
compile project(':node')
// JOpt: for command line flags.
compile "net.sf.jopt-simple:jopt-simple:$jopt_simple_version"
@ -40,4 +40,19 @@ shadowJar {
archiveName = "migration-tool-${version}.jar"
}
task buildMigrationTool(dependsOn: shadowJar)
task buildMigrationTool(dependsOn: shadowJar)
artifacts {
publish shadowJar {
classifier ""
}
}
jar {
classifier "ignore"
}
publish {
name 'migration-tool'
disableDefaultJar = true
}