Skip Java dependency updated from JDK17 to JDK21 #94
Replies: 4 comments
-
Some additional dependency updates: skip: SwiftSyntax updated from 509.0.0 to 509.1.1 |
Beta Was this translation helpful? Give feedback.
-
I can't build anymore since upgrading. I've also tried making a fresh project and same issue when I try to build from Xcode. Oddly if I open the Android project directly in AndroidStudio it builds fine.
I keep getting this error:
|
Beta Was this translation helpful? Give feedback.
-
Can you try manually setting the project to use JDK 20 or 21 in the Settings > Build, Execution, Deployment > Build Tools > Gradle setting section, as per this screenshot: Please let us know if this works. Ideally, we will be able to set it for you – we will look into it. For more details on this configuration setting, see https://developer.android.com/build/jdks#jdk-config-in-studio |
Beta Was this translation helpful? Give feedback.
-
@marcprux I had already tried that and it still wasn't working, but for anyone else that gets stuck on this error, it was actually that I needed to update gradle, running |
Beta Was this translation helpful? Give feedback.
-
We have released Skip 0.8.10, along with skip-unit 0.6.0, which updates the Skip Java dependency from JDK 17 to JDK 21 by way of skip-unit's
skip.yml
dependency specification. Java 21, which is a long-term support (LTS) release, has been the default for Homebrew for a few months now, but Gradle did not support it well until 8.6 was released.This update should be transparent for users who update their Skip packages using Xcode's
File / Packages / Update to Latest Package Versions
. In fact, initial builds should be faster and more robust, due to the no longer needing to "auto-provision" (i.e., download) a separate JDK 17 install when it is not already installed.Please do let us know if you encounter issues that seem related to the Java update. Happy Skipping!
Beta Was this translation helpful? Give feedback.
All reactions