Skip to content

Commit

Permalink
Gradle/Android: Fix the gradle task that cleans the entire project
Browse files Browse the repository at this point in the history
This patch resolves the bug in the 'cleanAll' gradle task, which now
also cleans the omitted sub-project.

Signed-off-by: Wook Song <wook16.song@samsung.com>
  • Loading branch information
wooksong authored and niley7464 committed Nov 28, 2024
1 parent 318fdd6 commit 1d3537e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ tasks {
register("cleanAll") {
dependsOn("nnstreamer-api:cleanAll")
dependsOn("externals:cleanAll")
dependsOn("ml_inference_offloading:cleanAll")
}
}
4 changes: 4 additions & 0 deletions ml_inference_offloading/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ tasks {
}
}
}

register("cleanAll", Delete::class) {
dependsOn("clean")
}
}

dependencies {
Expand Down

0 comments on commit 1d3537e

Please sign in to comment.