Reference EAP Kotlin repo in readme and samples

This commit is contained in:
Ilya Matveev
2018-08-31 14:10:20 +07:00
committed by Ilya Matveev
parent 5aaf075af8
commit 6750ef59bb
7 changed files with 36 additions and 11 deletions
+16 -1
View File
@@ -12,6 +12,18 @@ using Gradle plugin DSL:
id "org.jetbrains.kotlin.konan" version "0.9"
}
__Note__: The 0.9 version of Kotlin/Native is based on Kotlin 1.3-M1 which is an EAP version and isn't available at
plugin portal. In this case you need to add a Kotlin EAP repository in your `settings.gradle`:
pluginManagement {
repositories {
gradlePluginPortal()
maven {
url = 'http://dl.bintray.com/kotlin/kotlin-eap'
}
}
}
You also can get the plugin from a Bintray repository. In addition to releases, this repo contains old and development
versions of the plugin which are not available at the plugin portal. To get the plugin from the Bintray repo, include
the following snippet in your build script:
@@ -20,7 +32,10 @@ the following snippet in your build script:
repositories {
mavenCentral()
maven {
url "https://dl.bintray.com/jetbrains/kotlin-native-dependencies"
url "https://dl.bintray.com/jetbrains/kotlin-native-dependencies"
}
maven {
url "http://dl.bintray.com/kotlin/kotlin-eap"
}
}
+1 -1
View File
@@ -7,7 +7,7 @@ buildscript {
url "https://dl.bintray.com/jetbrains/kotlin-native-dependencies"
}
maven {
url "https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:(id:Kotlin_13M1_Compiler),number:1.3-M1-eap-77,branch:default:any/artifacts/content/maven/"
url "http://dl.bintray.com/kotlin/kotlin-eap"
}
}
dependencies {
+7 -3
View File
@@ -1,10 +1,14 @@
subprojects {
buildscript {
repositories {
maven { url 'https://cache-redirector.jetbrains.com/maven-central' }
maven { url "https://dl.bintray.com/jetbrains/kotlin-native-dependencies" }
maven {
url 'https://cache-redirector.jetbrains.com/maven-central'
}
maven {
url "https://dl.bintray.com/jetbrains/kotlin-native-dependencies"
}
maven {
url "https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:(id:Kotlin_13M1_Compiler),number:1.3-M1-eap-77,branch:default:any/artifacts/content/maven/"
url "http://dl.bintray.com/kotlin/kotlin-eap"
}
}
+1 -1
View File
@@ -2,7 +2,7 @@ buildscript {
repositories {
mavenCentral()
maven { url "https://dl.bintray.com/jetbrains/kotlin-native-dependencies" }
maven { url "https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:(id:Kotlin_13M1_Compiler),number:1.3-M1-eap-77,branch:default:any/artifacts/content/maven/" }
maven { url "http://dl.bintray.com/kotlin/kotlin-eap" }
}
dependencies {
+9 -3
View File
@@ -1,8 +1,14 @@
buildscript {
repositories {
maven { url 'https://cache-redirector.jetbrains.com/maven-central' }
maven { url "https://dl.bintray.com/jetbrains/kotlin-native-dependencies" }
maven { url "https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:(id:Kotlin_13M1_Compiler),number:1.3-M1-eap-77,branch:default:any/artifacts/content/maven/" }
maven {
url 'https://cache-redirector.jetbrains.com/maven-central'
}
maven {
url "https://dl.bintray.com/jetbrains/kotlin-native-dependencies"
}
maven {
url "http://dl.bintray.com/kotlin/kotlin-eap"
}
}
dependencies {
+1 -1
View File
@@ -7,7 +7,7 @@ buildscript {
url "https://dl.bintray.com/jetbrains/kotlin-native-dependencies"
}
maven {
url "https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:(id:Kotlin_13M1_Compiler),number:1.3-M1-eap-77,branch:default:any/artifacts/content/maven/"
url "http://dl.bintray.com/kotlin/kotlin-eap"
}
}
+1 -1
View File
@@ -7,7 +7,7 @@ buildscript {
url "https://dl.bintray.com/jetbrains/kotlin-native-dependencies"
}
maven {
url "https://teamcity.jetbrains.com/guestAuth/app/rest/builds/buildType:(id:Kotlin_13M1_Compiler),number:1.3-M1-eap-77,branch:default:any/artifacts/content/maven/"
url "http://dl.bintray.com/kotlin/kotlin-eap"
}
}