suppress deprecated java version

This commit is contained in:
kmmiio99o 2026-01-02 15:16:18 +01:00
parent 0805a7314d
commit 04a68d623d
No known key found for this signature in database
GPG key ID: 163FE39F7772D2EC
3 changed files with 10 additions and 3 deletions

View file

@ -12,8 +12,8 @@ android {
applicationId = "ShiggyXposed.xposed"
minSdk = 24
targetSdk = 36
versionCode = 1240
versionName = "1.2.4"
versionCode = 1250
versionName = "1.2.5"
}
buildTypes {
@ -39,6 +39,10 @@ android {
}
}
tasks.withType<org.gradle.api.tasks.compile.JavaCompile>().configureEach {
options.compilerArgs.add("-Xlint:-options")
}
dependencies {
compileOnly("de.robv.android.xposed:api:82")

View file

@ -310,6 +310,7 @@ object PerfPatchesModule : Module() {
}
}
@Deprecated("Overrides deprecated Module.buildPayload")
override fun buildPayload(builder: JsonObjectBuilder) {
builder.put("perfPatches", true)
}

View file

@ -20,4 +20,6 @@ kotlin.code.style=official
# Enables namespacing of each library's R class so that its R class includes only the
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.nonTransitiveRClass=true
# Suppress deprecation warning when building with a newer JDK (e.g., Java 21)
android.javaCompile.suppressSourceTargetDeprecationWarning=true