Add support for PMD 7, for Kotlin rules
PMD 7 is under development. The advantage of PMD 7 is that it supports Antlr grammers. We use the existing Antlr Kotlin grammer to add support for Kotlin and create Kotlin rules in PMD.
As an IntelliJ user, I want these Kotlin rules, by PMD 7 support in the PMD-Intellij plugin, to become available in IntelliJ.
There is currently a PMD-7-RC1 available. It is not backward compatible, that is, the xpath expressions used in (custom) rules differ for 6 and 7, so existing rules do not work as is on PMD 7. And migration is not easy.
This is why we developed a separate PMD7(-snapshot) plugin for Sonar and we have a PMD6 plugin in Sonar next to the PMD7 plugin. So, how to support both 6 and 7 rules in the PMD IntelliJ plugin is not clear to me, yet.
See also #161