Skip to content

Commit d8a9a12

Browse files
committed
chore(gradle): update NDK version and improve build configuration
1 parent 97d40d6 commit d8a9a12

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

module.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ ext {
66
moduleDescription = "Zygisk-Loader is a dynamic payload injection module made with Rust for Zygisk."
77
moduleVersion = "v0.3.1"
88
moduleVersionCode = 8
9+
10+
outDir = file("${rootProject.projectDir}/out")
911
}

module/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ android {
1818
abiFilters "arm64-v8a", "armeabi-v7a", "x86", "x86_64"
1919
}
2020
}
21-
ndkVersion '26.2.11394342'
21+
ndkVersion '29.0.14206865'
2222
}
2323

2424
cargo {
@@ -102,8 +102,8 @@ afterEvaluate {
102102
task("zip${variantCapped}", type: Zip) {
103103
dependsOn("prepareMagiskFiles${variantCapped}")
104104
from magiskDir
105-
archiveName zipName
106-
destinationDir outDir
105+
archiveFileName = zipName
106+
destinationDirectory = file(outDir)
107107
}
108108

109109
task("push${variantCapped}", type: Exec) {

0 commit comments

Comments
 (0)