Skip to content

Instantly share code, notes, and snippets.

@figonzal1
Created June 20, 2022 20:36
Show Gist options
  • Save figonzal1/88aa881fd67bab57445fab2d5736ba7b to your computer and use it in GitHub Desktop.
Save figonzal1/88aa881fd67bab57445fab2d5736ba7b to your computer and use it in GitHub Desktop.
//VERSION GROOVY
task clean(type: Delete) {
delete rootProject.buildDir
}
//VERSION DSL
tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment