fix: gradle related warnings

This commit fixes the warnings caused by using deprecated functions in ReZygisk building system.
This commit is contained in:
ThePedroo
2025-06-09 14:36:07 -03:00
parent 57f985292e
commit 4f35e06ac4

View File

@@ -38,19 +38,18 @@ val androidSourceCompatibility by extra(JavaVersion.VERSION_11)
val androidTargetCompatibility by extra(JavaVersion.VERSION_11) val androidTargetCompatibility by extra(JavaVersion.VERSION_11)
tasks.register("Delete", Delete::class) { tasks.register("Delete", Delete::class) {
delete(rootProject.buildDir) delete(layout.buildDirectory.get())
} }
fun Project.configureBaseExtension() { fun Project.configureBaseExtension() {
extensions.findByType(LibraryExtension::class)?.run { extensions.findByType(LibraryExtension::class)?.run {
namespace = "icu.nullptr.zygisk.next" namespace = "com.performanc.org.rezygisk"
compileSdk = androidCompileSdkVersion compileSdk = androidCompileSdkVersion
ndkVersion = androidCompileNdkVersion ndkVersion = androidCompileNdkVersion
buildToolsVersion = androidBuildToolsVersion buildToolsVersion = androidBuildToolsVersion
defaultConfig { defaultConfig {
minSdk = androidMinSdkVersion minSdk = androidMinSdkVersion
targetSdk = androidTargetSdkVersion
} }
lint { lint {