]> source.dussan.org Git - sonarqube.git/commitdiff
DOCS Fix Scanner for Gradle doc about properties
authorDuarte Meneses <duarte.meneses@sonarsource.com>
Tue, 20 Oct 2020 20:38:23 +0000 (15:38 -0500)
committersonartech <sonartech@sonarsource.com>
Wed, 21 Oct 2020 20:08:07 +0000 (20:08 +0000)
server/sonar-docs/src/pages/analysis/scan/sonarscanner-for-gradle.md

index 12cb0659c3e19d191be01450130c0f5cabee427b..5f030cb2b08e8671be54edd3a4a92e73d6682ec7 100644 (file)
@@ -122,8 +122,8 @@ Property|Gradle default
 `sonar.sourceEncoding`|`${project.compileJava.options.encoding}`
 `sonar.java.source`|`${project.sourceCompatibility}`
 `sonar.java.target`|`${project.targetCompatibility}`
-`sonar.sources`|`${sourceSets.main.allSource.srcDirs}` (filtered to only include existing directories)
-`sonar.tests`|`${sourceSets.test.allSource.srcDirs}` (filtered to only include existing directories)
+`sonar.sources`|`${sourceSets.main.allJava.srcDirs}` (filtered to only include existing directories)
+`sonar.tests`|`${sourceSets.test.allJava.srcDirs}` (filtered to only include existing directories)
 `sonar.java.binaries`|`${sourceSets.main.output.classesDir}`
 `sonar.java.libraries`|`${sourceSets.main.compileClasspath}` (filtering to only include files; rt.jar and jfxrt.jar added if necessary)
 `sonar.java.test.binaries`|`${sourceSets.test.output.classesDir}`