which versions are you using:
SQ Community Edition Version 8.9.9 (build 56886)
Sonar-Scanner CLI:
-SonarScanner 4.7.0.2747
-Java 11.0.14.1 Eclipse Adoptium (64-bit)
-Mac OS X 12.6 x86_64
how is SonarQube deployed: zip
what are you trying to achieve: obtain findings parity between CLI scanner and gradle-plugin scanner
what have you tried so far to achieve this:
created sample gradle/java project with issues not found while using CLI (java:S1948)
configured project for gradle-plugin scanning (build.gradle configurations) and CLI scanning (sonar-project.properties)
created scanning scripts for both scenarios for “one-click” run
Would I be able to run the CLI scanner to obtain the same level of thoroughness as the gradle scanner? I would need a unified approach on a large project portfolio spanning across many stacks and would hate to make a different scenario for each (gradle, maven, npm etc.)