Add jcenter and maven central as backup repositories

This commit is contained in:
Campbell Jones
2020-10-05 15:02:06 -04:00
committed by Pavel Punegov
parent 6fc5eea26b
commit 185f0a3101
18 changed files with 36 additions and 10 deletions
+1
View File
@@ -17,6 +17,7 @@ buildscript {
maven {
url 'https://cache-redirector.jetbrains.com/maven-central'
}
mavenCentral()
maven {
url buildKotlinCompilerRepo
}
+1
View File
@@ -39,6 +39,7 @@ repositories {
maven(kotlinCompilerRepo)
maven(buildKotlinCompilerRepo)
maven("https://cache-redirector.jetbrains.com/maven-central")
mavenCentral()
maven("https://kotlin.bintray.com/kotlinx")
maven("https://dl.bintray.com/kotlin/kotlin-dev")
}
+1
View File
@@ -9,6 +9,7 @@ pluginManagement {
repositories {
maven(kotlinCompilerRepo)
maven("https://cache-redirector.jetbrains.com/maven-central")
mavenCentral()
}
resolutionStrategy {
+3
View File
@@ -35,6 +35,7 @@ buildscript {
maven { url kotlinCompilerRepo }
maven { url "https://kotlin.bintray.com/kotlinx" }
maven { url "https://cache-redirector.jetbrains.com/maven-central" }
mavenCentral()
maven { url "https://dl.bintray.com/kotlin/kotlin-dev" }
jcenter()
}
@@ -104,6 +105,7 @@ allprojects {
maven {
url 'https://cache-redirector.jetbrains.com/jcenter'
}
jcenter()
maven { url "https://dl.bintray.com/kotlin/kotlin-dev" }
}
}
@@ -115,6 +117,7 @@ allprojects {
maven {
url 'https://cache-redirector.jetbrains.com/maven-central'
}
mavenCentral()
maven {
url kotlinStdlibRepo
}
+2 -1
View File
@@ -5,6 +5,7 @@ import org.jetbrains.kotlin.EndorsedLibraryInfo
buildscript {
repositories {
maven { url 'https://cache-redirector.jetbrains.com/jcenter' }
jcenter()
}
dependencies {
@@ -105,4 +106,4 @@ task endorsedLibsSources {
dependsOn "${library.taskName}CommonSources"
dependsOn "${library.taskName}NativeSources"
}
}
}
+3 -1
View File
@@ -6,6 +6,7 @@ buildscript {
maven {
url 'https://cache-redirector.jetbrains.com/jcenter'
}
jcenter()
maven {
url kotlinCompilerRepo
}
@@ -22,6 +23,7 @@ repositories {
maven {
url 'https://cache-redirector.jetbrains.com/jcenter'
}
jcenter()
maven {
url kotlinCompilerRepo
}
@@ -108,4 +110,4 @@ targetList.each { target ->
inputs.dir(commonSrc)
outputs.dir(outputFile)
}
}
}
+2 -1
View File
@@ -16,6 +16,7 @@ project.buildscript.repositories {
maven {
url 'https://cache-redirector.jetbrains.com/maven-central'
}
mavenCentral()
}
project.buildscript.dependencies {
@@ -33,4 +34,4 @@ project.repositories {
project.dependencies {
kotlinCompilerClasspath("org.jetbrains.kotlin:kotlin-compiler-embeddable:$buildKotlinVersion")
}
}
+2 -1
View File
@@ -4,6 +4,7 @@ buildscript {
maven {
url 'https://cache-redirector.jetbrains.com/jcenter'
}
jcenter()
}
}
@@ -54,4 +55,4 @@ subprojects.each {
task ring {
dependsOn 'clean'
dependsOn 'ring:konanRun'
}
}
+1
View File
@@ -9,6 +9,7 @@ buildscript {
maven {
url 'https://cache-redirector.jetbrains.com/jcenter'
}
jcenter()
}
}
+3 -1
View File
@@ -10,6 +10,7 @@ buildscript {
maven {
url 'https://cache-redirector.jetbrains.com/jcenter'
}
jcenter()
}
}
@@ -19,6 +20,7 @@ repositories {
maven {
url 'https://cache-redirector.jetbrains.com/jcenter'
}
jcenter()
maven {
url kotlinCompilerRepo
}
@@ -121,4 +123,4 @@ private def getCommonProperties() {
'jdkVersion': System.getProperty("java.version"), // org.gradle.internal.jvm.Jvm.current().javaVersion
'jdkVendor': System.getProperty("java.vendor"),
'kotlinVersion': "${kotlinVersion}".toString()]
}
}
+1
View File
@@ -10,6 +10,7 @@ buildscript {
maven {
url 'https://cache-redirector.jetbrains.com/maven-central'
}
mavenCentral()
maven {
url buildKotlinCompilerRepo
}
+1
View File
@@ -37,6 +37,7 @@ version = konanVersion
repositories {
maven("https://cache-redirector.jetbrains.com/maven-central")
mavenCentral()
maven(kotlinCompilerRepo)
maven(buildKotlinCompilerRepo)
}
+2 -1
View File
@@ -9,6 +9,7 @@ pluginManagement {
repositories {
maven(kotlinCompilerRepo)
maven("https://cache-redirector.jetbrains.com/maven-central")
mavenCentral()
}
resolutionStrategy {
@@ -20,4 +21,4 @@ pluginManagement {
}
}
rootProject.name = "kotlin-native-shared"
rootProject.name = "kotlin-native-shared"
+3 -1
View File
@@ -8,6 +8,7 @@ buildscript {
maven {
url 'https://cache-redirector.jetbrains.com/jcenter'
}
jcenter()
maven {
url kotlinCompilerRepo
}
@@ -24,6 +25,7 @@ repositories {
maven {
url 'https://cache-redirector.jetbrains.com/jcenter'
}
jcenter()
maven {
url kotlinCompilerRepo
}
@@ -191,4 +193,4 @@ task assembleWeb(type: Sync) {
from compileKotlinJs.destinationDir
into "${projectDir}/web"
}
}
@@ -26,10 +26,11 @@ buildscript {
maven {
url = 'https://cache-redirector.jetbrains.com/jcenter'
}
jcenter()
maven {
url "https://cache-redirector.jetbrains.com/plugins.gradle.org/m2/"
}
jcenter()
gradlePluginPortal()
}
dependencies {
@@ -34,6 +34,7 @@ class MultiplatformSpecification extends BaseKonanSpecification {
maven {
url = 'https://cache-redirector.jetbrains.com/jcenter'
}
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
@@ -49,6 +50,7 @@ class MultiplatformSpecification extends BaseKonanSpecification {
maven {
url = 'https://cache-redirector.jetbrains.com/jcenter'
}
jcenter()
}
dependencies {
+3 -1
View File
@@ -8,6 +8,7 @@ buildscript {
maven {
url 'https://cache-redirector.jetbrains.com/jcenter'
}
jcenter()
maven {
url kotlinCompilerRepo
}
@@ -24,6 +25,7 @@ repositories {
maven {
url 'https://cache-redirector.jetbrains.com/jcenter'
}
jcenter()
maven {
url kotlinCompilerRepo
}
@@ -61,4 +63,4 @@ kotlin {
}
}
}
}
}
+3 -1
View File
@@ -10,6 +10,7 @@ buildscript {
maven {
url 'https://cache-redirector.jetbrains.com/jcenter'
}
jcenter()
maven {
url kotlinCompilerRepo
}
@@ -30,6 +31,7 @@ repositories {
maven {
url 'https://cache-redirector.jetbrains.com/jcenter'
}
jcenter()
maven {
url kotlinCompilerRepo
}
@@ -72,4 +74,4 @@ kotlin {
kotlin.srcDir '../src/main/kotlin-js'
}
}
}
}