diff --git a/build.gradle b/build.gradle index 0a9307d4c6..e146adba48 100644 --- a/build.gradle +++ b/build.gradle @@ -66,6 +66,7 @@ buildscript { ext.jsr305_version = constants.getProperty("jsr305Version") ext.shiro_version = '1.4.0' 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.docker_compose_rule_version = '0.33.0' ext.selenium_version = '3.8.1' @@ -83,6 +84,9 @@ buildscript { maven { url 'https://dl.bintray.com/kotlin/kotlin-eap/' } + maven { + url "$artifactory_contextUrl/corda-releases" + } } dependencies { classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" @@ -187,6 +191,7 @@ allprojects { mavenCentral() jcenter() maven { url 'https://jitpack.io' } + maven { url "$artifactory_contextUrl/corda-releases" } // cordform-common } configurations { @@ -303,7 +308,7 @@ task buildCordappDependenciesZip(type: Zip) { artifactory { publish { - contextUrl = 'https://ci-artifactory.corda.r3cev.com/artifactory' + contextUrl = artifactory_contextUrl repository { repoKey = 'corda-dev' username = 'teamcity'