diff --git a/app/build.gradle.kts b/app/build.gradle.kts new file mode 100644 index 000000000..8cac82d83 --- /dev/null +++ b/app/build.gradle.kts @@ -0,0 +1,5 @@ +tasks.register("clean") { + subprojects.forEach { + dependsOn(":app:${it.name}:clean") + } +} diff --git a/build.py b/build.py index d55459ee2..1ceda16b6 100755 --- a/build.py +++ b/build.py @@ -536,16 +536,7 @@ def cleanup(args): if "java" in targets: header("* Cleaning java") - execv( - [ - gradlew, - ":app:apk:clean", - ":app:core:clean", - ":app:shared:clean", - ":app:stub:clean", - ], - env=find_jdk(), - ) + execv([gradlew, ":app:clean"], env=find_jdk()) def setup_ndk(args):