aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-docs
diff options
context:
space:
mode:
authorChristine Curry <89850583+christine-curry-sonarsource@users.noreply.github.com>2022-06-09 16:02:37 +0100
committersonartech <sonartech@sonarsource.com>2022-06-09 20:03:15 +0000
commit6e3634378cb02187cb807a8433bd3f69f401790e (patch)
treecddad4ae9cd53c7b9ec5c521f96f9399e11eb380 /server/sonar-docs
parent793809058c6f3772959f7731316c930b51383c3c (diff)
downloadsonarqube-6e3634378cb02187cb807a8433bd3f69f401790e.tar.gz
sonarqube-6e3634378cb02187cb807a8433bd3f69f401790e.zip
SONAR-16430 Update SonarScanner for Gradle article (#6068)
Diffstat (limited to 'server/sonar-docs')
-rw-r--r--server/sonar-docs/src/pages/analysis/scan/sonarscanner-for-gradle.md4
1 files 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 8ca17408611..bfa87bd991c 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
@@ -30,7 +30,7 @@ systemProp.sonar.host.url=http://localhost:9000
```
## Analyzing
-First, include the scanner in your build in `build.gradle`:
+First, you need to activate the scanner in your build. For Gradle 2.1+, apply the SonarQube plugin dependency to your build.gradle file below::
```
plugins {
@@ -38,7 +38,7 @@ plugins {
}
```
-More details on https://plugins.gradle.org/plugin/org.sonarqube
+Ensure that you declare the plugins in the correct sequence required by Gradle, that is, after the buildscript block in your build.gradle file. More details on https://plugins.gradle.org/plugin/org.sonarqube
Assuming a local SonarQube server with out-of-the-box settings is up and running, no further configuration is required.