Add artifactory as repo for TC-published gradle plugins (and cordform-common).

This commit is contained in:
Andrzej Cichocki 2018-03-05 13:01:26 +00:00
parent 17dd7b964d
commit 1470f294d4
No known key found for this signature in database
GPG Key ID: 21B3BCB0BD5B0832

View File

@ -66,6 +66,7 @@ buildscript {
ext.jsr305_version = constants.getProperty("jsr305Version") ext.jsr305_version = constants.getProperty("jsr305Version")
ext.shiro_version = '1.4.0' ext.shiro_version = '1.4.0'
ext.artifactory_plugin_version = constants.getProperty('artifactoryPluginVersion') ext.artifactory_plugin_version = constants.getProperty('artifactoryPluginVersion')
ext.artifactory_contextUrl = 'https://ci-artifactory.corda.r3cev.com/artifactory'
ext.snake_yaml_version = constants.getProperty('snakeYamlVersion') ext.snake_yaml_version = constants.getProperty('snakeYamlVersion')
ext.docker_compose_rule_version = '0.33.0' ext.docker_compose_rule_version = '0.33.0'
ext.selenium_version = '3.8.1' ext.selenium_version = '3.8.1'
@ -83,6 +84,9 @@ buildscript {
maven { maven {
url 'https://dl.bintray.com/kotlin/kotlin-eap/' url 'https://dl.bintray.com/kotlin/kotlin-eap/'
} }
maven {
url "$artifactory_contextUrl/corda-releases"
}
} }
dependencies { dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@ -187,6 +191,7 @@ allprojects {
mavenCentral() mavenCentral()
jcenter() jcenter()
maven { url 'https://jitpack.io' } maven { url 'https://jitpack.io' }
maven { url "$artifactory_contextUrl/corda-releases" } // cordform-common
} }
configurations { configurations {
@ -303,7 +308,7 @@ task buildCordappDependenciesZip(type: Zip) {
artifactory { artifactory {
publish { publish {
contextUrl = 'https://ci-artifactory.corda.r3cev.com/artifactory' contextUrl = artifactory_contextUrl
repository { repository {
repoKey = 'corda-dev' repoKey = 'corda-dev'
username = 'teamcity' username = 'teamcity'