Thread
#detekt
    Gopal S Akshintala

    Gopal S Akshintala

    2 years ago
    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

    2 years ago
    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.
    Gopal S Akshintala

    Gopal S Akshintala

    2 years ago
    Thanks @Mike
    a

    Artur Bosch

    2 years ago
    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 🙂
    Gopal S Akshintala

    Gopal S Akshintala

    2 years ago
    I have installed 2.0.0-RC1 along with SonarKotlin and configured sonarqube with config files (I used both absolute paths and relative paths), but I DON’T see any issues raised by detekt in sonarqube. Please find my project here. Please help, thanks: https://github.com/overfullstack/railway-oriented-validation-kotlin