From 1d3537e9560eea11ef93814cdd7b4a7fa46e142e Mon Sep 17 00:00:00 2001 From: Wook Song Date: Wed, 27 Nov 2024 14:41:56 +0900 Subject: [PATCH] Gradle/Android: Fix the gradle task that cleans the entire project This patch resolves the bug in the 'cleanAll' gradle task, which now also cleans the omitted sub-project. Signed-off-by: Wook Song --- build.gradle.kts | 1 + ml_inference_offloading/build.gradle.kts | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 26faaec..dec64c3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -20,5 +20,6 @@ tasks { register("cleanAll") { dependsOn("nnstreamer-api:cleanAll") dependsOn("externals:cleanAll") + dependsOn("ml_inference_offloading:cleanAll") } } diff --git a/ml_inference_offloading/build.gradle.kts b/ml_inference_offloading/build.gradle.kts index e7ec758..4f7dca9 100644 --- a/ml_inference_offloading/build.gradle.kts +++ b/ml_inference_offloading/build.gradle.kts @@ -79,6 +79,10 @@ tasks { } } } + + register("cleanAll", Delete::class) { + dependsOn("clean") + } } dependencies {