Should compile with Java17 but used Java8
Please provide:
- Link to build log from https://jitpack.io https://jitpack.io/com/github/CaffeineMC/sodium-fabric/mc1.19-0.4.2/build.log
- What error are you seeing? You are using an outdated version of Java (8). Java 17 or higher is required. Thank you!
@wifi-left I had the same problem. The JitPack docs aren't entirely clear. Once I figured it out, I posted how to do it on dev.to. Here's what I had to do: https://dev.to/cicirello/how-to-configure-jitpack-for-recent-jdk-versions-4pek
Looks like you are using gradle. I use Maven. But part of my solution described in post linked above should be relevant for you. The part on configuring the JitPack for JDK 17. Maybe that is enough for your case.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.