-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade the used JDK in the project to v21 #3582
Conversation
9ec0504
to
d3f37ea
Compare
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3582 +/- ##
===========================================
- Coverage 82.38% 81.10% -1.28%
===========================================
Files 1742 1753 +11
Lines 41680 42248 +568
Branches 5030 5106 +76
===========================================
- Hits 34337 34267 -70
- Misses 5576 6213 +637
- Partials 1767 1768 +1 ☔ View full report in Codecov by Sentry. |
It seems like some code, |
It seems like 3977455 fixed the |
#3565 has been merged, then #3554 but the latest was based on an old develop branch. Result is a not compiling develop branch. We may want to mitigate this by enabling merge queue, but this was slowing down the process, and so I prefer to keep it that way and fix issues when they happen, which is quite not frequent, so acceptable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. FTR I had to install JDK21 on my computer:
brew install openjdk@21
sudo ln -sfn /opt/homebrew/opt/openjdk@21/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-21.jdk
I have added 2 cleanup commits, please review!
Thanks for the tip! This is indeed needed if you aren't using the JDK embedded in AS Ladybug. Also, thanks for the cleanup! |
Quality Gate passedIssues Measures |
This reverts commit f8fa218.
Content
Changes the Gradle config to use JDK 21, and change it in the CI flows too.
Motivation and context
JDK 21 is the new default in Android Studio Ladybug.
Tests
Let's see how the CI behaves.
Checklist