mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
"compile" should run after "clean".
This commit is contained in:
parent
1d7ccecb34
commit
853f49ac15
1 changed files with 2 additions and 1 deletions
|
@ -155,7 +155,8 @@ open class JvmCompilerPlugin @Inject constructor(
|
|||
)
|
||||
}
|
||||
|
||||
@IncrementalTask(name = JvmCompilerPlugin.TASK_COMPILE, description = "Compile the project")
|
||||
@IncrementalTask(name = JvmCompilerPlugin.TASK_COMPILE, description = "Compile the project",
|
||||
runAfter = arrayOf(TASK_CLEAN))
|
||||
fun taskCompile(project: Project): IncrementalTaskInfo {
|
||||
// Generate the BuildConfig before invoking sourceDirectories() since that call
|
||||
// might add the buildConfig source directories
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue