New name for the Scanner for Gradle

Hi,

SonarSource is happy to announce the release of Sonar Scanner for Gradle 3.5. With this version, the task has been updated to adopt the “sonar” name, instead of “sonarqube”. This new task works for both SonarQube and SonarCloud products.

So now, starting with this version of the Sonar Scanner for Gradle, instead of calling:

./gradlew sonarqube

you can simply call:

./gradlew sonar

For backward compatibility reasons, it is still possible to use the “sonarqube” task name, but the “sonarqube” task is now deprecated.

Christophe

1 Like

Hi,

wouldn’t it be handy to update the documentation at https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-gradle/
Here the old task and configuration block sonarqube is still depicted.
This could avoid a lot of confusion for many users.
Best Regards,
Karsten

1 Like

Hi @KarstenR,

Changes to documentation will be published with the next version (9.8) of SonarQube.
Thanks for taking the time to give feedback.

Chris