You've already forked ReZygisk
mirror of
https://github.com/PerformanC/ReZygisk.git
synced 2025-09-06 06:37:01 +00:00
20 lines
515 B
Plaintext
20 lines
515 B
Plaintext
plugins {
|
|
id("com.android.library")
|
|
id("org.mozilla.rust-android-gradle.rust-android")
|
|
}
|
|
|
|
android.buildFeatures {
|
|
androidResources = false
|
|
buildConfig = false
|
|
}
|
|
|
|
cargo {
|
|
module = "."
|
|
libname = "zygiskd"
|
|
targetIncludes = arrayOf("zygiskd")
|
|
targets = listOf("arm64", "arm", "x86", "x86_64")
|
|
targetDirectory = "build/intermediates/rust"
|
|
val isDebug = gradle.startParameter.taskNames.any { it.toLowerCase().contains("debug") }
|
|
profile = if (isDebug) "debug" else "release"
|
|
}
|