gradle: use idiomatic task handling

- The hand-rolled clean task is not required

- Tasks should use configureEach to prevent eager evaluation

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya
2023-03-22 21:35:34 +05:30
parent e843fccbc6
commit 052ff060b1
2 changed files with 5 additions and 9 deletions
-4
View File
@@ -23,10 +23,6 @@ buildscript {
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
tasks {
wrapper {
gradleVersion = "8.0.2"