detekt / detekt-intellij-plugin

detekt plugin for IntelliJ
https://plugins.jetbrains.com/plugin/10761-detekt
Apache License 2.0
290 stars 39 forks source link

Add support for IJ 241, drop 221 #507

Closed rock3r closed 5 months ago

rock3r commented 5 months ago

As per title, this PR adds support for IJ 241, which is currently throwing an error due to an action missing the update thread override. Concurrently, we had to drop support for 221 as that API isn't available until 222. We also removed one deprecated-as-error API usage by copy-pasting that function into the plugin (yeah... I know), and replaced a deprecated IJ Platform function usage with its Kotlin stdlib equivalent.

Include updating Gradle to 8.5 and Gradle IJ plugin to 1.17.0; the verifier now runs on all latest supported versions of the IJ Platform. Smoke tested on 222 and 241 EAP 3.

I took the liberty of creating a changelog entry for 2.4.0

schalkms commented 5 months ago

Thanks for the tremendous help!!