https://kotlinlang.org logo
#detekt
Title
# detekt
g

Gopal S Akshintala

04/03/2020, 5:04 PM
What’s the official/recommended way of integrating detekt into SonarQube? (I see the
sonar-kotlin
plugin offered by detekt is not official and there is SonarKotlin official from SonaQube which says you can pull detekt reports), I am confused which way to go!
m

Mike

04/03/2020, 6:32 PM
I would suggest using the SonarKotlin plugin and have it pull in the Detekt report. I think the sonar-kotlin plugin was created as a stopgap measure until Sonarqube provided something, and given you have to compile it, and install it manually, you may run into issues with some administrators. AFAIK, the SonarKotlin plugin works well as reported here by another user. Just so you know, I'm a fellow user, and not part of the project team.
g

Gopal S Akshintala

04/03/2020, 6:48 PM
Thanks @Mike
a

Artur Bosch

04/11/2020, 6:01 PM
Starting with
detekt/sonar-kotlin
2.x.x we will drop all redundant features and be compatible with the offical SonarKotlin plugin. I've requested the addition of our plugin to the marketplace. Please give https://github.com/detekt/sonar-kotlin/releases/tag/2.0.0-RC1 a try 🙂
6 Views