diff --git a/gradle.properties b/gradle.properties index 6e7cd27..374b4b2 100644 --- a/gradle.properties +++ b/gradle.properties @@ -21,5 +21,5 @@ kotlin.code.style=official # 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 - -org.gradle.java.home=/usr/lib/jvm/java-21-openjdk +# Suppress deprecation warning when building with a newer JDK (e.g., Java 21) +android.javaCompile.suppressSourceTargetDeprecationWarning=true