Create :app:clean task

This commit is contained in:
topjohnwu 2024-07-24 16:46:47 -07:00
parent eb74b266e1
commit 9c03514eb1
2 changed files with 6 additions and 10 deletions

5
app/build.gradle.kts Normal file
View File

@ -0,0 +1,5 @@
tasks.register("clean") {
subprojects.forEach {
dependsOn(":app:${it.name}:clean")
}
}

View File

@ -536,16 +536,7 @@ def cleanup(args):
if "java" in targets: if "java" in targets:
header("* Cleaning java") header("* Cleaning java")
execv( execv([gradlew, ":app:clean"], env=find_jdk())
[
gradlew,
":app:apk:clean",
":app:core:clean",
":app:shared:clean",
":app:stub:clean",
],
env=find_jdk(),
)
def setup_ndk(args): def setup_ndk(args):