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:
@@ -37,9 +37,9 @@ apply plugin: org.jetbrains.kotlin.NativeInteropPlugin
|
|||||||
// (gets applied to this project and all its subprojects)
|
// (gets applied to this project and all its subprojects)
|
||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
|
//maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
|
||||||
maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
|
//maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
|
||||||
//maven { url 'http://dl.bintray.com/kotlin/kotlin-dev' }
|
maven { url 'http://dl.bintray.com/kotlin/kotlin-dev' }
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations.all {
|
configurations.all {
|
||||||
|
|||||||
Vendored
+4
-3
@@ -33,10 +33,11 @@ configurations {
|
|||||||
kotlin_compiler_pom
|
kotlin_compiler_pom
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Check if we really need the our bintray mirror and delete the uploading code below if we don't.
|
||||||
repositories {
|
repositories {
|
||||||
maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
|
//maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
|
||||||
maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
|
//maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
|
||||||
//maven { url 'http://dl.bintray.com/kotlin/kotlin-dev' }
|
maven { url 'http://dl.bintray.com/kotlin/kotlin-dev' }
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
+1
-1
@@ -21,5 +21,5 @@ remoteRoot=konan_tests
|
|||||||
#kotlinCompilerModule=org.jetbrains.kotlin:kotlin-compiler:1.1-SNAPSHOT
|
#kotlinCompilerModule=org.jetbrains.kotlin:kotlin-compiler:1.1-SNAPSHOT
|
||||||
# Download artifacts of https://teamcity.jetbrains.com/viewType.html?buildTypeId=bt345
|
# Download artifacts of https://teamcity.jetbrains.com/viewType.html?buildTypeId=bt345
|
||||||
testDataVersion=1053418:id
|
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
|
konanVersion=0.1
|
||||||
|
|||||||
@@ -24,9 +24,9 @@ apply plugin: 'com.jfrog.bintray'
|
|||||||
// Copied from backend.native
|
// Copied from backend.native
|
||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
|
//maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
|
||||||
maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
|
//maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
|
||||||
//maven { url 'http://dl.bintray.com/kotlin/kotlin-dev' }
|
maven { url 'http://dl.bintray.com/kotlin/kotlin-dev' }
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations.all {
|
configurations.all {
|
||||||
|
|||||||
@@ -33,9 +33,9 @@ buildscript {
|
|||||||
|
|
||||||
// Copied from backend.native project. =====
|
// Copied from backend.native project. =====
|
||||||
repositories {
|
repositories {
|
||||||
maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
|
//maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
|
||||||
maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
|
//maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
|
||||||
//maven { url 'http://dl.bintray.com/kotlin/kotlin-dev' }
|
maven { url 'http://dl.bintray.com/kotlin/kotlin-dev' }
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations.all {
|
configurations.all {
|
||||||
|
|||||||
Reference in New Issue
Block a user