[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
@@ -53,15 +53,6 @@ internal open class AbstractKotlinCompileArgumentsContributor<T : CommonCompiler
args: T,
flags: Collection<CompilerArgumentsConfigurationFlag>
) {
args.coroutinesState = when (coroutines.get()) {
Coroutines.ENABLE -> CommonCompilerArguments.ENABLE
Coroutines.WARN -> CommonCompilerArguments.WARN
Coroutines.ERROR -> CommonCompilerArguments.ERROR
Coroutines.DEFAULT -> CommonCompilerArguments.DEFAULT
}
logger.kotlinDebug { "args.coroutinesState=${args.coroutinesState}" }
if (logger.isDebugEnabled) {
args.verbose = true
}
@@ -114,4 +105,4 @@ internal open class KotlinJvmCompilerArgumentsContributor(
kotlinOptions.forEach { it?.updateArguments(args) }
}
}
}