JetBrains / intellij-platform-plugin-template

Template repository for creating plugins for IntelliJ Platform
Apache License 2.0
3.14k stars 638 forks source link

(❓) Switch to java 17? #273

Closed KotlinIsland closed 2 years ago

KotlinIsland commented 2 years ago

Since 2022.2 Idea uses JBR 17, how should this be handled in plugin development? Should plugins have different compilations depending on the Idea version?

Maybe this comment could be updated as well? https://github.com/JetBrains/intellij-platform-plugin-template/blob/edf9434f35dd60143dfee5cb69ee591435c6689d/build.gradle.kts#L26-L29

Also the documentation here needs to be updated.

YannCebron commented 2 years ago

Nothing has changed: You must use the minimum Java version depending on your chosen target platform version.

Please note that 2022.2 is still in EAP and thus far from being widely used. Java version requirements are always listed on corresponding API changes pages: https://plugins.jetbrains.com/docs/intellij/api-changes-list-2022.html

I've updated above mentioned page as well now.