Is there a way to change the Java SDK depending on the git branch on Intellij IDEA?
Im new to Intellij IDEA. On my git project I use branches for different version (minecraft modding) and for example version1 is using JDK 17 and the second one JDK21.
When I switch between branches I have to set manually in the project settings the right JDK to use everytime.
Build failing with gradlew genSource despite having fabric api installed?
I’m trying to follow a modding tutorial for fabricmc but I’m keep getting “Build failed” after a few seconds after running ./gradleW genSource