You've already forked Zygisk-Assistant
mirror of
https://github.com/snake-4/Zygisk-Assistant.git
synced 2025-09-06 06:37:02 +00:00
Rewrote the build system and module...
+ Added more architectures to compile. - Removed all scripts from the module, now it is compatible with all root implementations. - Removed unused code and variables. - Removed most references to the module name. * Compilation is now parallelized.
This commit is contained in:
@@ -4,30 +4,8 @@ plugins {
|
||||
alias(libs.plugins.agp.lib) apply false
|
||||
}
|
||||
|
||||
fun String.execute(currentWorkingDir: File = file("./")): String {
|
||||
val byteOut = ByteArrayOutputStream()
|
||||
project.exec {
|
||||
workingDir = currentWorkingDir
|
||||
commandLine = split("\\s".toRegex())
|
||||
standardOutput = byteOut
|
||||
}
|
||||
return String(byteOut.toByteArray()).trim()
|
||||
}
|
||||
|
||||
val moduleId by extra("qingyue")
|
||||
val moduleName by extra("Zygisk Qingyue")
|
||||
val verName by extra("v1.0.0")
|
||||
val verCode by extra(100)
|
||||
val abiList by extra(listOf("arm64-v8a"))
|
||||
|
||||
val androidMinSdkVersion by extra(29)
|
||||
val androidTargetSdkVersion by extra(34)
|
||||
val androidCompileSdkVersion by extra(34)
|
||||
val androidBuildToolsVersion by extra("34.0.0")
|
||||
val androidCompileNdkVersion by extra("26.0.10792818")
|
||||
val androidSourceCompatibility by extra(JavaVersion.VERSION_11)
|
||||
val androidTargetCompatibility by extra(JavaVersion.VERSION_11)
|
||||
|
||||
tasks.register("Delete", Delete::class) {
|
||||
delete(rootProject.buildDir)
|
||||
}
|
||||
val abiList by extra(listOf("armeabi-v7a","arm64-v8a","x86","x86_64"))
|
||||
|
||||
Reference in New Issue
Block a user