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:
@@ -72,6 +72,7 @@ compileCoroutinesKotlinCommon {
|
||||
"-module-name", project.name+"-coroutines",
|
||||
"-Xuse-experimental=kotlin.contracts.ExperimentalContracts",
|
||||
"-Xuse-experimental=kotlin.Experimental",
|
||||
"-Xcoroutines=enable",
|
||||
"-XXLanguage:-ReleaseCoroutines",
|
||||
"-Xallow-kotlin-package",
|
||||
"-Xallow-result-return-type"
|
||||
@@ -87,8 +88,6 @@ compileTestKotlinCommon {
|
||||
}
|
||||
}
|
||||
|
||||
kotlin.experimental.coroutines 'enable'
|
||||
|
||||
jar {
|
||||
manifestAttributes(manifest, project, 'Main')
|
||||
from sourceSets.coroutines.output
|
||||
|
||||
Reference in New Issue
Block a user