mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
kotlinc can compile directories.
This commit is contained in:
parent
7dc1183953
commit
5b46033e96
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,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 = false)
|
||||
ICompilerDescription.DEFAULT_PRIORITY - 5, canCompileDirectories = true)
|
||||
|
||||
override fun compilersFor(project: Project, context: KobaltContext)
|
||||
= if (sourceFileCount(project) > 0) listOf(compiler) else emptyList()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue