From ef215a720d87f8ebdd4289a9776d6de8c1ac0a1c Mon Sep 17 00:00:00 2001 From: Sebastiano Poggi Date: Thu, 15 Feb 2024 11:32:32 +0100 Subject: [PATCH] Make sure clean also removes the root build directory --- build.gradle.kts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 05dcd4b57..347cdeb2a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -153,4 +153,12 @@ tasks { logger.info("All done!") } } + + register("cleanTestPublishArtifacts") { + delete(rootProject.layout.buildDirectory.dir("maven-test")) + } + + register("clean") { + delete(rootProject.layout.buildDirectory) + } }