title: How to configure sonar.junit.reportPaths
body: <p>I have tried severally to configure this sonarqube property <code>sonar.junit.reportPaths</code> within Gradle but still get the same error message.
  <br />Gradle version -&gt; 6.7.1
  <br />SonarQube Server version -&gt; 8.9 (docker image)
  <br />Java version -&gt; openjdk 11.0.2
  <br />Intellij version -&gt; 2021.1.2
  <br />My Sonarqube Gradle configuration is as below:</p>
  <pre><code>plugins {
      id 'java'
      id 'jacoco'
      id &quot;org.sonarqube&quot; version &quot;3.3&quot;
      id 'org.jetbrains.kotlin.jvm' version '1.5.20'
  }
  </code></pre>
  <br />
  <pre><code>sonarqube {
      properties {
          property 'sonar.projectName', 'Snippets of Java code'
          property 'sonar.junit.reportPaths', 'build/test-results/test'
          property 'sonar.coverage.jacoco.xmlReportPaths', 'build/reports/test/jacocoTestReport.xml'
          property 'sonar.inclusions', '*.java,*.kt'
      }
  }
  
  jacocoTestReport {
      reports {
          xml.required = true
          csv.required = false
      }
  }
  </code></pre>
  <p>I still get the message below:</p>
  <pre><code>Resource not found: com.sammy.service.JavaFareTest under the directory /Users/samuelifere/IdeaProjects/codingChallenges while reading test reports. Please, make sure your &quot;sonar.junit.reportPaths&quot; property is configured properly
  Resource not found: com.sammy.model.JavaCardTest under the directory /Users/samuelifere/IdeaProjects/codingChallenges while reading test reports. Please, make sure your &quot;sonar.junit.reportPaths&quot; property is configured properly
  </code></pre>
  <p>I read several stackoverflow pages such as these:
  <a href="https://stackoverflow.com/questions/47265816/sonarqube-ignores-sonar-junit-reportpaths">1</a>, <a href="https://stackoverflow.com/questions/59567039/0-coverage-in-the-sonarqube-report-for-the-kotlin-project/59575711#59575711">2</a> but still didn't help in resolving my issue. Any help would be much appreciated, so it can properly find the resources.</p>
  <p>The command I use to run to run this through Gradle is:</p>
  <pre><code>./gradlew clean build jacocoTestReport sonarqube
  </code></pre>