Temporarily turn off ReleaseCoroutines feature

This commit is contained in:
Ilya Gorbunov
2018-06-21 08:50:12 +03:00
parent d4a195c757
commit 76e581fe4f
8 changed files with 17 additions and 10 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ compileKotlin {
}
compileTestKotlin {
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-Xmulti-platform"]
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-Xmulti-platform", "-XXLanguage:-ReleaseCoroutines"]
}
compileJava9Sources(project, 'kotlin.stdlib.jdk7')
+1 -1
View File
@@ -73,7 +73,7 @@ compileKotlin {
}
compileTestKotlin {
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-Xmulti-platform"]
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-Xmulti-platform", "-XXLanguage:-ReleaseCoroutines"]
}
compileJava9Sources(project, 'kotlin.stdlib.jdk8')
+1 -1
View File
@@ -63,7 +63,7 @@ compileKotlin {
}
compileTestKotlin {
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-Xmulti-platform"]
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-Xmulti-platform", "-XXLanguage:-ReleaseCoroutines"]
}
kotlin.experimental.coroutines 'enable'
+1 -1
View File
@@ -66,7 +66,7 @@ compileKotlin {
}
compileTestKotlin {
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-Xnormalize-constructor-calls=enable", "-Xmulti-platform"]
kotlinOptions.freeCompilerArgs = ["-Xallow-kotlin-package", "-Xnormalize-constructor-calls=enable", "-Xmulti-platform", "-XXLanguage:-ReleaseCoroutines"]
}
kotlin.experimental.coroutines 'enable'
+5 -1
View File
@@ -148,7 +148,8 @@ compileKotlin2Js {
sourceMapPrefix = "./"
freeCompilerArgs += [
"-source-map-base-dirs", [builtinsSrcDir, jsSrcDir, commonSrcDir, commonSrcDir2].collect { file(it).absoluteFile }.join(File.pathSeparator),
"-Xuse-experimental=kotlin.Experimental"
"-Xuse-experimental=kotlin.Experimental",
"-XXLanguage:-ReleaseCoroutines"
]
}
}
@@ -178,6 +179,9 @@ compileCoroutinesKotlin2Js {
compileTestKotlin2Js {
kotlinOptions {
moduleKind = "umd"
freeCompilerArgs += [
"-XXLanguage:-ReleaseCoroutines"
]
}
}
+2 -1
View File
@@ -182,7 +182,8 @@ compileKotlin {
"-Xmultifile-parts-inherit",
"-Xnormalize-constructor-calls=enable",
"-module-name", "kotlin-stdlib",
"-Xuse-experimental=kotlin.Experimental"
"-Xuse-experimental=kotlin.Experimental",
"-XXLanguage:-ReleaseCoroutines"
]
}
}