From 348092cfa6c09072ce14a325ce23e968269cff14 Mon Sep 17 00:00:00 2001 From: Clinton Alexander Date: Thu, 1 Dec 2016 16:18:47 +0000 Subject: [PATCH] Re-added corda capsule publication. --- node/build.gradle | 50 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/node/build.gradle b/node/build.gradle index 2ac4ce7cff..03fdcf10b7 100644 --- a/node/build.gradle +++ b/node/build.gradle @@ -219,6 +219,26 @@ bintray { } } +bintray { + user = System.getenv('CORDA_BINTRAY_USER') + key = System.getenv('CORDA_BINTRAY_KEY') + publications = ['corda'] + dryRun = false + pkg { + repo = 'corda' + name = 'corda' + userOrg = 'r3' + licenses = ['Apache-2.0'] + + version { + gpg { + sign = true + passphrase = System.getenv('CORDA_BINTRAY_GPG_PASSPHRASE') + } + } + } +} + publishing { publications { node(MavenPublication) { @@ -263,6 +283,34 @@ publishing { artifact buildCordaJAR { classifier "" } + + pom.withXml { + asNode().children().last() + { + resolveStrategy = Closure.DELEGATE_FIRST + name 'corda' + description 'Corda standalone node' + url 'https://github.com/corda/corda' + scm { + url 'https://github.com/corda/corda' + } + + licenses { + license { + name 'Apache-2.0' + url 'https://www.apache.org/licenses/LICENSE-2.0' + distribution 'repo' + } + } + + developers { + developer { + id 'R3' + name 'R3' + email 'dev@corda.net' + } + } + } + } } } -} +} \ No newline at end of file