From 436b48574541283ed00773b4b09287270a57bafa Mon Sep 17 00:00:00 2001 From: naufalprakoso Date: Sat, 16 May 2020 22:41:05 +0700 Subject: [PATCH] Change task register delete --- build.gradle.kts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index ee4b0cc..2c8c661 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -22,8 +22,6 @@ allprojects { } } -tasks { - val clean by registering(Delete::class) { - delete(buildDir) - } +tasks.register("clean", Delete::class){ + delete(rootProject.buildDir) }