I am creating a custom plugin and using details in plugin.xml file:
<idea-version since-build="162.0" until-build="181.*"/>
But after I build the plugin project using gradle-build task , i am seeing the plugin.xml in final jar has below . Somehow the tag I have defined is getting overwritten.
<idea-version since-build="181.4445" until-build="181.*"/>
I want to use "162.0" to make plugin work in older IDE versions.
You can configure Gradle to patch plugin.xml file as described in the documentation:
patchPluginXml {
sinceBuild '162'
untilBuild '181'
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With