We just migrated from SonarQube 8.9 LTS to 9.9 LTS. We use the default ruleset and the latest Gradle plugin (3.5.0.2730). After the migration we see a lot of false positives for imports for delegation functions which were already covered in these issues (import androidx.compose.runtime.getValue):
Since we are using SonarQube 9.9 LTS selfhosted, is there a chance that some of the rules are outdated? How can I verify that we are using the latest ones?
Thanks for your message. I need a bit more information to be able to investigate the issue:
Is it happening on SQ or in SL? As you’re talking about SonarQube and the thread you’re referencing is about SonarLint. If it’s SonarLint, is it connected mode or not?
Could you, please, share the analysis configuration?
Could you, please, share the analysis log?
Are you mixing Java & Kotlin code?
Have you changed the values of the properties sonar.java.libraries and sonar.java.binaries?