Plugin is incompatible with this installation
Answered
Hello. I am forking an plugin for intellij. It runs fine in the runIDE task (Intellij 2019.3), however when I build the plugin and try applying the .zip manually to my intellij 2020.1, I receive the following error "Plugin 'Minecraft Development' is incompatible with this installation.
Here is my plugin.xml https://paste.helpch.at/
Here is my build.gradle.kts https://paste.helpch.at/
Please sign in to leave a comment.
Are you sure that is the final plugin.xml generated by buildPlugin? It still contains XML comments etc.
No, this is just the one that was in my main/resources/meta-inf folder
Most likely it is patched by Gradle plugin to have a different since/until-build attribute then, causing it to be marked incompatible
https://www.jetbrains.org/intellij/sdk/docs/tutorials/build_system/gradle_guide.html#patching-the-plugin-configuration-file
So is it something with my build.gradle.kts? Like what should I do to prevent this
The intellij block uses the following two bits to configure current target platform (via gradle.properties?) and automatic adjustment of since/until-build as explained in above link.