build: Switch Kotlin compiler downloading to kotlin-dev bintray repo

This patch uses kotlin-dev bintray repo (dl.bintray.com/kotlin/kotlin
-dev/org/jetbrains/kotlin/kotlin-compiler/) for Kotlin compiler
downloading instead of the sonatype repo and our bintray mirror of it.
So there is not need to run ./gradlew update_kotlin_compiler on each
compiler update.

It also updates kotlin-compiler to 1.1.3-dev-1619
This commit is contained in:
Ilya Matveev
2017-05-02 15:58:06 +07:00
committed by ilmat192
parent 94c1716899
commit 3f0a273a11
5 changed files with 14 additions and 13 deletions
+3 -3
View File
@@ -37,9 +37,9 @@ apply plugin: org.jetbrains.kotlin.NativeInteropPlugin
// (gets applied to this project and all its subprojects)
allprojects {
repositories {
maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
//maven { url 'http://dl.bintray.com/kotlin/kotlin-dev' }
//maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
//maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'http://dl.bintray.com/kotlin/kotlin-dev' }
}
configurations.all {
+4 -3
View File
@@ -33,10 +33,11 @@ configurations {
kotlin_compiler_pom
}
// TODO: Check if we really need the our bintray mirror and delete the uploading code below if we don't.
repositories {
maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
//maven { url 'http://dl.bintray.com/kotlin/kotlin-dev' }
//maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
//maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'http://dl.bintray.com/kotlin/kotlin-dev' }
}
dependencies {
+1 -1
View File
@@ -21,5 +21,5 @@ remoteRoot=konan_tests
#kotlinCompilerModule=org.jetbrains.kotlin:kotlin-compiler:1.1-SNAPSHOT
# Download artifacts of https://teamcity.jetbrains.com/viewType.html?buildTypeId=bt345
testDataVersion=1053418:id
kotlinCompilerModule=org.jetbrains.kotlin:kotlin-compiler:1.1-20170427.203056-511
kotlinCompilerModule=org.jetbrains.kotlin:kotlin-compiler:1.1.3-dev-1619
konanVersion=0.1
+3 -3
View File
@@ -24,9 +24,9 @@ apply plugin: 'com.jfrog.bintray'
// Copied from backend.native
allprojects {
repositories {
maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
//maven { url 'http://dl.bintray.com/kotlin/kotlin-dev' }
//maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
//maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'http://dl.bintray.com/kotlin/kotlin-dev' }
}
configurations.all {
+3 -3
View File
@@ -33,9 +33,9 @@ buildscript {
// Copied from backend.native project. =====
repositories {
maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
//maven { url 'http://dl.bintray.com/kotlin/kotlin-dev' }
//maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
//maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'http://dl.bintray.com/kotlin/kotlin-dev' }
}
configurations.all {