Remove bintray repositories from kotlin-native/samples
This commit is contained in:
committed by
Space
parent
5923cbd76f
commit
95584f90c3
@@ -58,7 +58,6 @@ open class CopySamples : Copy() {
|
||||
}
|
||||
|
||||
private val replacements = listOf(
|
||||
"https://dl.bintray.com/kotlin/kotlin-eap" to "https://cache-redirector.jetbrains.com/dl.bintray.com/kotlin/kotlin-eap",
|
||||
"https://plugins.gradle.org/m2" to "https://cache-redirector.jetbrains.com/plugins.gradle.org/m2",
|
||||
"mavenCentral()" to "maven { setUrl(\"https://cache-redirector.jetbrains.com/maven-central\") }",
|
||||
"jcenter()" to "maven { setUrl(\"https://cache-redirector.jetbrains.com/jcenter\") }"
|
||||
|
||||
@@ -6,7 +6,6 @@ repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven("https://dl.bintray.com/kotlin/kotlin-eap")
|
||||
}
|
||||
|
||||
plugins {
|
||||
|
||||
@@ -16,6 +16,5 @@ pluginManagement {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven("https://dl.bintray.com/kotlin/kotlin-eap")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven("https://dl.bintray.com/kotlin/kotlin-eap")
|
||||
|
||||
val kotlinCompilerRepo: String? by rootProject
|
||||
kotlinCompilerRepo?.let { maven(it) }
|
||||
@@ -16,7 +15,6 @@ buildscript {
|
||||
allprojects {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven("https://dl.bintray.com/kotlin/kotlin-eap")
|
||||
|
||||
val kotlinCompilerRepo: String? by rootProject
|
||||
kotlinCompilerRepo?.let { maven(it) }
|
||||
|
||||
@@ -3,7 +3,6 @@ buildscript {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
|
||||
if (project.hasProperty("kotlinCompilerRepo")) {
|
||||
maven { setUrl(project.property("kotlinCompilerRepo")) }
|
||||
}
|
||||
@@ -20,7 +19,6 @@ allprojects {
|
||||
google()
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
|
||||
if (project.hasProperty("kotlinCompilerRepo")) {
|
||||
maven { setUrl(project.property("kotlinCompilerRepo")) }
|
||||
}
|
||||
|
||||
@@ -5,7 +5,6 @@ plugins {
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
maven { setUrl("https://dl.bintray.com/kotlin/kotlin-eap") }
|
||||
}
|
||||
|
||||
group = "org.jetbrains.kotlin.sample.native"
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
pluginManagement {
|
||||
repositories {
|
||||
jcenter()
|
||||
maven { setUrl("https://dl.bintray.com/kotlin/kotlin-eap") }
|
||||
}
|
||||
|
||||
resolutionStrategy {
|
||||
val kotlin_version: String by settings
|
||||
eachPlugin {
|
||||
|
||||
@@ -8,7 +8,6 @@ plugins {
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
val hostOs = System.getProperty("os.name")
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
pluginManagement {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven("https://dl.bintray.com/kotlin/kotlin-eap")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ plugins {
|
||||
allprojects {
|
||||
repositories {
|
||||
jcenter()
|
||||
maven("https://dl.bintray.com/kotlin/kotlin-eap")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ plugins {
|
||||
allprojects {
|
||||
repositories {
|
||||
jcenter()
|
||||
maven("https://dl.bintray.com/kotlin/kotlin-eap")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
jcenter()
|
||||
maven("https://dl.bintray.com/jetbrains/kotlin-native-dependencies")
|
||||
}
|
||||
|
||||
// This way we can map plugin to standard maven artifact
|
||||
@@ -12,7 +11,7 @@ pluginManagement {
|
||||
resolutionStrategy {
|
||||
eachPlugin {
|
||||
if (requested.id.id == "konan") {
|
||||
val kotlinNativeVer = "0.7.1"
|
||||
val kotlinNativeVer = "1.3.41"
|
||||
useModule("org.jetbrains.kotlin:kotlin-native-gradle-plugin:$kotlinNativeVer")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user