[CLI] Drop CommonCompilerArguments.coroutinesState
This commit is contained in:
committed by
TeamCityServer
parent
df3b12e13b
commit
e991c9d476
@@ -190,10 +190,6 @@ class KotlinMavenImporter : MavenImporter(KOTLIN_PLUGIN_GROUP_ID, KOTLIN_PLUGIN_
|
||||
arguments.multiPlatform = configuration?.getChild("multiPlatform")?.text?.trim()?.toBoolean() ?: false
|
||||
arguments.suppressWarnings = configuration?.getChild("nowarn")?.text?.trim()?.toBoolean() ?: false
|
||||
|
||||
configuration?.getChild("experimentalCoroutines")?.text?.trim()?.let {
|
||||
arguments.coroutinesState = it
|
||||
}
|
||||
|
||||
when (arguments) {
|
||||
is K2JVMCompilerArguments -> {
|
||||
arguments.classpath = configuration?.getChild("classpath")?.text
|
||||
@@ -256,7 +252,6 @@ class KotlinMavenImporter : MavenImporter(KOTLIN_PLUGIN_GROUP_ID, KOTLIN_PLUGIN_
|
||||
|
||||
kotlinFacet.configureFacet(
|
||||
compilerVersion,
|
||||
LanguageFeature.Coroutines.defaultState,
|
||||
platform,
|
||||
modifiableModelsProvider
|
||||
)
|
||||
@@ -425,4 +420,4 @@ class KotlinImporterComponent : PersistentStateComponent<KotlinImporterComponent
|
||||
}
|
||||
|
||||
internal val Module.kotlinImporterComponent: KotlinImporterComponent
|
||||
get() = this.getServiceSafe()
|
||||
get() = this.getServiceSafe()
|
||||
|
||||
Reference in New Issue
Block a user