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)