Set 1.2-SNAPSHOT in gradle build
This commit is contained in:
+2
-2
@@ -7,7 +7,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|||||||
import org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile
|
import org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
extra["defaultSnapshotVersion"] = "1.1-SNAPSHOT"
|
extra["defaultSnapshotVersion"] = "1.2-SNAPSHOT"
|
||||||
|
|
||||||
kotlinBootstrapFrom(BootstrapOption.BintrayDev("1.1.60-dev-277"))
|
kotlinBootstrapFrom(BootstrapOption.BintrayDev("1.1.60-dev-277"))
|
||||||
|
|
||||||
@@ -54,7 +54,7 @@ val defaultSnapshotVersion: String by extra
|
|||||||
val buildNumber by extra(findProperty("build.number")?.toString() ?: defaultSnapshotVersion)
|
val buildNumber by extra(findProperty("build.number")?.toString() ?: defaultSnapshotVersion)
|
||||||
val kotlinVersion by extra(findProperty("deployVersion")?.toString() ?: buildNumber)
|
val kotlinVersion by extra(findProperty("deployVersion")?.toString() ?: buildNumber)
|
||||||
|
|
||||||
val kotlinLanguageVersion by extra("1.1")
|
val kotlinLanguageVersion by extra("1.2")
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
group = "org.jetbrains.kotlin"
|
group = "org.jetbrains.kotlin"
|
||||||
|
|||||||
@@ -10,7 +10,11 @@ dependencies {
|
|||||||
|
|
||||||
compileKotlin {
|
compileKotlin {
|
||||||
compilerJarFile = null
|
compilerJarFile = null
|
||||||
kotlinOptions.freeCompilerArgs = ["-version"]
|
kotlinOptions {
|
||||||
|
languageVersion = "1.1"
|
||||||
|
apiVersion = "1.1"
|
||||||
|
freeCompilerArgs = ["-version"]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task run(type: JavaExec) {
|
task run(type: JavaExec) {
|
||||||
|
|||||||
Reference in New Issue
Block a user