suppress deprecated java version
This commit is contained in:
parent
0805a7314d
commit
04a68d623d
3 changed files with 10 additions and 3 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
|
|
@ -310,6 +310,7 @@ object PerfPatchesModule : Module() {
|
|||
}
|
||||
}
|
||||
|
||||
@Deprecated("Overrides deprecated Module.buildPayload")
|
||||
override fun buildPayload(builder: JsonObjectBuilder) {
|
||||
builder.put("perfPatches", true)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue