From 8418b7437580b35c0c76d7aed6661ad1efff5ff8 Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Sat, 9 Jul 2016 02:42:35 -0800 Subject: [PATCH] Compiling directories defeats increments compiling. So turning it back off for now. --- src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinPlugin.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinPlugin.kt b/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinPlugin.kt index e40bceed..15e2a519 100644 --- a/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinPlugin.kt +++ b/src/main/kotlin/com/beust/kobalt/plugin/kotlin/KotlinPlugin.kt @@ -111,7 +111,7 @@ class KotlinPlugin @Inject constructor(val executors: KobaltExecutors, val depen /** The Kotlin compiler should run before the Java one, hence priority - 5 */ val compiler = CompilerDescription(PLUGIN_NAME, "kotlin", SOURCE_SUFFIXES, KotlinCompiler(), - ICompilerDescription.DEFAULT_PRIORITY - 5, canCompileDirectories = true) + ICompilerDescription.DEFAULT_PRIORITY - 5, canCompileDirectories = false) override fun compilersFor(project: Project, context: KobaltContext) = arrayListOf(compiler)