From fe14635135a7ca8aa82c2e7b1f230c27bdb37b86 Mon Sep 17 00:00:00 2001 From: lipeidian Date: Sat, 17 Feb 2024 17:17:51 +0800 Subject: [PATCH] [#1268] improvement(build): clean bin directory when executing gradle clean --- build.gradle.kts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 946c5da9bc9..08b5db35117 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -495,6 +495,9 @@ tasks { val cleanDistribution by registering(Delete::class) { group = "gravitino distribution" delete(outputDir) + subprojects.forEach { + delete(it.file("bin")) + } } register("copySubprojectDependencies", Copy::class) {