mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-28 04:25:27 +00:00
Create :app:clean task
This commit is contained in:
parent
eb74b266e1
commit
9c03514eb1
5
app/build.gradle.kts
Normal file
5
app/build.gradle.kts
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
tasks.register("clean") {
|
||||||
|
subprojects.forEach {
|
||||||
|
dependsOn(":app:${it.name}:clean")
|
||||||
|
}
|
||||||
|
}
|
11
build.py
11
build.py
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user