1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Fix duplication of parameters.

This commit is contained in:
Cedric Beust 2017-04-20 11:17:23 -07:00
parent 1d015a6f93
commit e1c1da55c6

View file

@ -145,7 +145,6 @@ class KotlinCompiler @Inject constructor(
// Collect the compiler args from kotlinCompiler{} and from settings.xml and parse them
val args2 =
info.compilerArgs +
(kotlinConfig(project)?.args ?: arrayListOf<String>()) +
(settings.kobaltCompilerFlags?.split(" ") ?: listOf<String>())
val args = K2JVMCompilerArguments()
val compiler = K2JVMCompiler()