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

Don't make compile depend on clean.

This commit is contained in:
Cedric Beust 2016-03-30 01:43:46 -08:00
parent b8fffe9aca
commit a2c7f527e5

View file

@ -98,7 +98,7 @@ open class JvmCompilerPlugin @Inject constructor(
}
}
@Task(name = TASK_CLEAN, description = "Clean the project", runBefore = arrayOf(TASK_COMPILE))
@Task(name = TASK_CLEAN, description = "Clean the project")
fun taskClean(project: Project): TaskResult {
java.io.File(project.directory, project.buildDirectory).let { dir ->
if (!dir.deleteRecursively()) {