JetBrains/gradle-idea-ext-plugin

Allow specifying project JDK

hakanai opened this issue · 1 comments

We have multiple branches where each branch wants to be built and tested against a different JDK.

We currently deal with this by having the Gradle wrapper set the path to the right JDK before starting up. It would be nice if we could somehow have our build either specify the right JDK to use programmatically, or for IDEA to automatically pick up the same JDK that Gradle is building with.

The language level itself doesn't work because sometimes both JDKs are the same language level (as is the case for us right now.)

This now seems to be the last thing preventing us from deleting and ignoring misc.xml.