mirror of
https://github.com/corda/corda.git
synced 2025-04-14 14:37:22 +00:00
Fixed the dozens of artifactory warnings at gradle initialisation. (#1862)
* Fixed the dozens of artifactory warnings at gradle initialisation.
This commit is contained in:
parent
9cec137a31
commit
15d29d7982
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user