Plugin dev using gradle: Could not determine target platform version, please check project setup Follow
I'm using gradle to developer IntelliJ plugins:
And Intellij (2021.2 EAP) highlights it in red:
Could not determine target platform version, please check project setup
Inspection info: Reports problems in plugin.xml.
Invalid configuration can lead to problems at runtime.
Please sign in to leave a comment.
Funny enough, I ran into the exact same issue with the Key Promoter earlier today. As far as I can see, my usage of "applicationListeners" is correct and I'm sure yours is correct as well. I identified the problem in the devkit plugin and will discuss in the upcoming days if there is a quick fix for this.
This configuration is not valid. I assume you're trying to build against `LATEST-EAP-SNAPSHOT` or another version missing the platform target baseline version number in its name.
If you _really_ must build against 212 EAP, specify exact published EAP build number, or "212-EAP-SNAPSHOT" if you absolutely require building against latest snapshot.
Project SDK set to JDK, not Intellij Plugin SDK ， now it‘s OK。