From c0add8035420b7af306d1a9bedd7f7853a452c4f Mon Sep 17 00:00:00 2001 From: Duarte Meneses Date: Tue, 20 Oct 2020 15:38:23 -0500 Subject: [PATCH] DOCS Fix Scanner for Gradle doc about properties --- .../src/pages/analysis/scan/sonarscanner-for-gradle.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}` -- 2.39.5