From: Duarte Meneses Date: Tue, 20 Oct 2020 20:38:23 +0000 (-0500) Subject: DOCS Fix Scanner for Gradle doc about properties X-Git-Tag: 8.6.0.39681~151 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c0add8035420b7af306d1a9bedd7f7853a452c4f;p=sonarqube.git DOCS Fix Scanner for Gradle doc about properties --- diff --git a/server/sonar-docs/src/pages/analysis/scan/sonarscanner-for-gradle.md b/server/sonar-docs/src/pages/analysis/scan/sonarscanner-for-gradle.md index 12cb0659c3e..5f030cb2b08 100644 --- a/server/sonar-docs/src/pages/analysis/scan/sonarscanner-for-gradle.md +++ b/server/sonar-docs/src/pages/analysis/scan/sonarscanner-for-gradle.md @@ -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}`