[CLI] Drop CommonCompilerArguments.coroutinesState

This commit is contained in:
Dmitriy Novozhilov
2020-12-02 13:22:40 +03:00
committed by TeamCityServer
parent df3b12e13b
commit e991c9d476
19 changed files with 13 additions and 181 deletions
@@ -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()