Reports usages of IntelliJ Platform API introduced in a version newer than the one specified in pluginSinceBuild
in gradle.properties
.
Using such API may lead to incompatibilities of the plugin with older IDE versions.
To avoid possible issues when running the plugin in older IDE versions, increase pluginSinceBuild
accordingly,
or remove usages of this API.
See Build Number Ranges in IntelliJ Platform Plugin SDK docs for more details.
📢 This inspection is a workaround for the original inspection Usage of IntelliJ API not available in older
IDEs
,
which reads values from plugin.xml
. The IntelliJ Platform Gradle Plugin v2 encourages plugin
developers to define values in gradle.properties
instead. This new inspection has been developed to
enhance the support of the IntelliJ Platform Gradle Plugin v2 by providing a new inspection Usage of IntelliJ API not available in older IDEs (gradle.properties)
.
make build
or ./gradlew buildPlugin
make run
or ./gradlew runIde2
Check also my other plugins.