Fixed the dozens of artifactory warnings at gradle initialisation. ()

* Fixed the dozens of artifactory warnings at gradle initialisation.
This commit is contained in:
Clinton 2017-10-11 12:41:11 +01:00 committed by GitHub
parent 9cec137a31
commit 15d29d7982
3 changed files with 14 additions and 3 deletions
build.gradleconstants.properties
gradle-plugins/publish-utils/src/main/groovy/net/corda/plugins

@ -293,12 +293,16 @@ artifactory {
publish {
contextUrl = 'https://ci-artifactory.corda.r3cev.com/artifactory'
repository {
repoKey = 'corda-releases'
repoKey = 'corda-dev'
username = 'teamcity'
password = System.getenv('CORDA_ARTIFACTORY_PASSWORD')
}
defaults {
publications('corda-jfx', 'corda-mock', 'corda-rpc', 'corda-core', 'corda', 'cordform-common', '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')
// Root project applies the plugin (for this block) but does not need to be published
if(project != rootProject) {
publications(project.extensions.publish.name())
}
}
}
}

@ -1,4 +1,4 @@
gradlePluginsVersion=2.0.2
gradlePluginsVersion=2.0.3
kotlinVersion=1.1.50
guavaVersion=21.0
bouncycastleVersion=1.57

@ -15,6 +15,13 @@ class ProjectPublishExtension {
task.setPublishName(name)
}
/**
* Get the publishing name for this project.
*/
String name() {
return task.getPublishName()
}
/**
* True when we do not want to publish default Java components
*/