Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 89fe3d4

Browse files
Ignore Android Plugin JDK 21 compiling for Java 8 warnings
Prefer using a modern JDK to compile.
1 parent b9074a1 commit 89fe3d4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎gradle.properties‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ android.useAndroidX=true
1818
android.defaults.buildfeatures.buildconfig=true
1919
android.nonTransitiveRClass=true
2020
android.nonFinalResIds=false
21+
22+
# Compiling for Java 8 is just deprecated in JDK 21, but still supported, so ignore warning
23+
android.javaCompile.suppressSourceTargetDeprecationWarning=true

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /