Sonar warning about deprecated jacoco sonar.coverage.jacoco.xmlReportPaths

I’m using
gradle Gradle 6.6 (quite new)
with following plugins section

plugins {
java
jacoco
id (“org.sonarqube”) version “3.0”
}

I don’t have any other configuration neither for sonar nor jacoco.
But when I run
./gradlew sonar

Task :sonarqube
Property ‘sonar.jacoco.reportPath’ is deprecated (JaCoCo binary format). ‘sonar.coverage.jacoco.xmlReportPaths’ should be used instead (JaCoCo XML format).
Property ‘sonar.jacoco.reportPaths’ is deprecated (JaCoCo binary format). ‘sonar.coverage.jacoco.xmlReportPaths’ should be used instead (JaCoCo XML format).

Why is it using this deprecated path. I didn’t specify it.

  • My SonarQube Version is 7.9.4 (build 35981)

Edit:

This is a bug, that was fixed in SonarJava 6.2. This version is available for 7.9, so you can either:

  • Ignore the warnings
  • Update your analyzer