Set 1.2-SNAPSHOT in gradle build

This commit is contained in:
Ilya Gorbunov
2017-04-26 21:38:40 +03:00
parent 968c9c2034
commit cffab8d3ef
2 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile
buildscript {
extra["defaultSnapshotVersion"] = "1.1-SNAPSHOT"
extra["defaultSnapshotVersion"] = "1.2-SNAPSHOT"
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 kotlinVersion by extra(findProperty("deployVersion")?.toString() ?: buildNumber)
val kotlinLanguageVersion by extra("1.1")
val kotlinLanguageVersion by extra("1.2")
allprojects {
group = "org.jetbrains.kotlin"
@@ -10,7 +10,11 @@ dependencies {
compileKotlin {
compilerJarFile = null
kotlinOptions.freeCompilerArgs = ["-version"]
kotlinOptions {
languageVersion = "1.1"
apiVersion = "1.1"
freeCompilerArgs = ["-version"]
}
}
task run(type: JavaExec) {