diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 7cd36ed..020a31e 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -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().configureEach { + options.compilerArgs.add("-Xlint:-options") +} + dependencies { compileOnly("de.robv.android.xposed:api:82") diff --git a/app/src/main/kotlin/ShiggyXposed/xposed/xposed/modules/PerfPatchesModule.kt b/app/src/main/kotlin/ShiggyXposed/xposed/xposed/modules/PerfPatchesModule.kt index d16d981..914b6a0 100644 --- a/app/src/main/kotlin/ShiggyXposed/xposed/xposed/modules/PerfPatchesModule.kt +++ b/app/src/main/kotlin/ShiggyXposed/xposed/xposed/modules/PerfPatchesModule.kt @@ -310,6 +310,7 @@ object PerfPatchesModule : Module() { } } + @Deprecated("Overrides deprecated Module.buildPayload") override fun buildPayload(builder: JsonObjectBuilder) { builder.put("perfPatches", true) } diff --git a/gradle.properties b/gradle.properties index 3c5031e..374b4b2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 \ No newline at end of file +android.nonTransitiveRClass=true +# Suppress deprecation warning when building with a newer JDK (e.g., Java 21) +android.javaCompile.suppressSourceTargetDeprecationWarning=true