From e1c1da55c6fb9add9e130ee21ad7e43b869bb461 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Thu, 20 Apr 2017 11:17:23 -0700 Subject: [PATCH] Fix duplication of parameters. --- src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinCompiler.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinCompiler.kt b/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinCompiler.kt index d8a1d153..b14244c3 100644 --- a/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinCompiler.kt +++ b/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinCompiler.kt @@ -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()) + (settings.kobaltCompilerFlags?.split(" ") ?: listOf()) val args = K2JVMCompilerArguments() val compiler = K2JVMCompiler()