All Downloads are FREE. Search and download functionalities are using the official Maven repository.

godot.gradle.tasks.setupCleanTask.kt Maven / Gradle / Ivy

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)
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy