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

Restore the Kotlin compiler's ability to compile directories.

This commit is contained in:
Cedric Beust 2016-07-05 23:24:43 -08:00
parent f5560b2907
commit bd6dfb494f
2 changed files with 3 additions and 2 deletions

View file

@ -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)
ICompilerDescription.DEFAULT_PRIORITY - 5, canCompileDirectories = true)
override fun compilersFor(project: Project, context: KobaltContext) = arrayListOf(compiler)