build: Allow kotlin-compiler downloading from sonatype
This patch allows one to download the kotlin-compiler dependency not only from the bintray mirror but also from the sonatype original repo.
This commit is contained in:
@@ -37,9 +37,8 @@ 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 {
|
maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
|
||||||
url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies'
|
maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations.all {
|
configurations.all {
|
||||||
|
|||||||
@@ -24,9 +24,8 @@ apply plugin: 'com.jfrog.bintray'
|
|||||||
// Copied from backend.native
|
// Copied from backend.native
|
||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
|
||||||
url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies'
|
maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations.all {
|
configurations.all {
|
||||||
|
|||||||
@@ -33,9 +33,8 @@ buildscript {
|
|||||||
|
|
||||||
// Copied from backend.native project. =====
|
// Copied from backend.native project. =====
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven { url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies' }
|
||||||
url 'http://dl.bintray.com/jetbrains/kotlin-native-dependencies'
|
maven { url 'http://oss.sonatype.org/content/repositories/snapshots' }
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations.all {
|
configurations.all {
|
||||||
|
|||||||
Reference in New Issue
Block a user