mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Fix the CLEAN dependency.
This commit is contained in:
parent
007bb31ee3
commit
8c6e050d3b
1 changed files with 2 additions and 1 deletions
|
@ -101,7 +101,8 @@ open class JvmCompilerPlugin @Inject constructor(
|
|||
}
|
||||
}
|
||||
|
||||
@Task(name = TASK_CLEAN, description = "Clean the project", group = GROUP_BUILD)
|
||||
@Task(name = TASK_CLEAN, description = "Clean the project", group = GROUP_BUILD,
|
||||
runBefore = arrayOf(JvmCompilerPlugin.TASK_COMPILE))
|
||||
fun taskClean(project: Project): TaskResult {
|
||||
java.io.File(project.directory, project.buildDirectory).let { dir ->
|
||||
if (!dir.deleteRecursively()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue