Created
December 1, 2017 02:04
-
-
Save brunorozendo/8585b65e2d4c3c854768cec1312ec3af to your computer and use it in GitHub Desktop.
Sonar for gradle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| buildscript { | |
| repositories { | |
| maven { | |
| url "https://plugins.gradle.org/m2/" | |
| } | |
| } | |
| dependencies { | |
| classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.1" | |
| } | |
| } | |
| repositories { | |
| jcenter() | |
| } | |
| if (!project.plugins.findPlugin(org.sonarqube.gradle.SonarQubePlugin)) | |
| project.apply(plugin: org.sonarqube.gradle.SonarQubePlugin) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment