[CLI] Drop CommonCompilerArguments.coroutinesState
This commit is contained in:
committed by
TeamCityServer
parent
df3b12e13b
commit
e991c9d476
+1
-10
@@ -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) }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user