mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 16:28:12 -07:00
Adjust priorities.
This commit is contained in:
parent
3bec28e8e0
commit
37b36d5e30
2 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ interface ICompiler : Comparable<ICompiler> {
|
||||||
fun compile(project: Project, context: KobaltContext, info: CompilerActionInfo) : TaskResult
|
fun compile(project: Project, context: KobaltContext, info: CompilerActionInfo) : TaskResult
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
val DEFAULT_PRIORITY: Int = 5
|
val DEFAULT_PRIORITY: Int = 10
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -117,7 +117,7 @@ class KotlinPlugin @Inject constructor(val executors: KobaltExecutors, val depen
|
||||||
override val sourceSuffixes = listOf("kt")
|
override val sourceSuffixes = listOf("kt")
|
||||||
|
|
||||||
/** The Kotlin compiler should run before the Java one */
|
/** The Kotlin compiler should run before the Java one */
|
||||||
override val priority: Int get() = ICompiler.DEFAULT_PRIORITY - 1
|
override val priority: Int get() = ICompiler.DEFAULT_PRIORITY - 5
|
||||||
|
|
||||||
override val sourceDirectory = "kotlin"
|
override val sourceDirectory = "kotlin"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue