Update build.gradle add sonarqube
@@ -17,6 +17,19 @@ switch ( OperatingSystem.current() ) {
break
}
+buildscript {
+ repositories {
+ maven {
+ url "https://plugins.gradle.org/m2/"
+ }
+ }
+ dependencies {
+ classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.2"
+ }
+}
+
+apply plugin: "org.sonarqube"
+
subprojects {
apply plugin: 'java'
apply plugin: 'eclipse'
