Remove experimental coroutines opt-in from build scripts

It has no effect in Kotlin 1.3

Only enable coroutines if '-ReleaseCoroutines' is used
This commit is contained in:
Ilya Gorbunov
2018-11-02 19:45:56 +03:00
parent ea0030f324
commit a64a76d5fc
16 changed files with 3 additions and 48 deletions
+1 -2
View File
@@ -212,6 +212,7 @@ compileCoroutinesKotlin {
"-Xmultifile-parts-inherit",
"-Xuse-experimental=kotlin.contracts.ExperimentalContracts",
"-Xuse-experimental=kotlin.Experimental",
"-Xcoroutines=enable",
"-XXLanguage:-ReleaseCoroutines",
"-module-name", "kotlin-stdlib-coroutines"
]
@@ -264,5 +265,3 @@ test {
systemProperty("kotlin.stdlib.test.long.sequences", "true")
}
}
kotlin.experimental.coroutines 'enable'