Created
June 20, 2022 20:36
-
-
Save figonzal1/88aa881fd67bab57445fab2d5736ba7b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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