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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user