I checked sonarqube has support for detekt (I want...
# detekt
j
I checked sonarqube has support for detekt (I want to totally remove the sonar original issues and use detekt reports, or in other words, I want a GUI to see detekt issues + codecoverage via sonarqube. https://docs.sonarqube.org/latest/analysis/external-issues/ In another hand, I have seen there is a sonar-detekt plugin. With the official property is not enough so I need to use this plugin? What are the differences?
g
We’re lacking capacity to do proper Sonarqube maintainance. If you’re willing to help us with https://github.com/detekt/sonar-kotlin that would be more than appreciated ❤️ I’m unsure what are the differences between the two (I was not even aware Sonarqube has 1st party Detekt support).
j
Not sure if there are someone from Sonarqube in this Slack to know if we got the same value from their implementation and sonar-kotlin plugin, if so, one less thing to maintain 🙂
g
From my experience, folks on sonarqube are extremely slow to respond + they have their own forum where you need to subscribe
j
I will try to ask anyway
🙏 1
s
I think the following issue outlines the 2 options.
I guess you have two options:
Either use the official sonarqube Kotlin plugin and publish detekt reports via `property "sonar.kotlin.detekt.reportPaths", "${project.buildDir}/reports/detekt/detekt-report.xml".
Or use both our and sonarqube's plugin together with a joint quality profile and detekt.sonar.kotlin.config.path.
https://github.com/detekt/sonar-kotlin/issues/131
g
Thank you very much 🙏
Please keep us in the loop
👍 1
434 Views