godot.gradle.tasks.setupCleanTask.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of godot-gradle-plugin Show documentation
Show all versions of godot-gradle-plugin Show documentation
Godot gradle plugin for kotlin language support.
The newest version!
package godot.gradle.tasks
import org.gradle.api.Project
import org.gradle.api.Task
import org.gradle.api.tasks.TaskProvider
fun Project.setupCleanTask(
createBuildLockTask: TaskProvider,
deleteBuildLockTask: TaskProvider,
generateGdIgnoreFilesTask: TaskProvider
) {
tasks.named("clean") {
with(it) {
dependsOn(createBuildLockTask)
finalizedBy(deleteBuildLockTask, generateGdIgnoreFilesTask)
}
}
}