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.
Is there a way to assign a JDK to a specific git branch? Or maybe a plugin for that ?
I tried to set the right JDK on both branches but it didnt work.
New contributor
Patema is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.