diff --git a/Makefile b/Makefile index ee3d01c4dc3..1d50162858c 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,6 @@ checkstyle: ./gradlew checkstyle -sonarqube: - ./gradlew sonarqube - test: # See libandroid-navigation/build.gradle for details ./gradlew :libandroid-navigation:test diff --git a/build.gradle b/build.gradle index 0cad9a966fd..9fa2b7a5a71 100644 --- a/build.gradle +++ b/build.gradle @@ -46,6 +46,4 @@ subprojects { task clean(type: Delete) { delete rootProject.buildDir -} - -apply from: "${rootDir}/gradle/sonarqube.gradle" +} \ No newline at end of file diff --git a/circle.yml b/circle.yml index 634c3931ae4..f81dedbeecc 100644 --- a/circle.yml +++ b/circle.yml @@ -32,9 +32,6 @@ jobs: - run: name: Run unit-test and generate Jacoco test report command: ./gradlew createDebugUnitTestCoverageReport -# - run: -# name: Sonarcloud upload -# command: make sonarqube - run: name: Build release to test ProGuard rules command: ./gradlew app:assembleRelease diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle index fe604d11c80..acd8ce84db5 100644 --- a/gradle/dependencies.gradle +++ b/gradle/dependencies.gradle @@ -40,7 +40,6 @@ ext { errorprone : '0.0.13', coveralls : '2.8.1', spotbugs : '1.3', - sonarqube : '2.6-rc1', gradle : '3.1.2', dependencyGraph : '0.3.0', dependencyUpdates: '0.20.0' @@ -108,7 +107,6 @@ ext { gradle : "com.android.tools.build:gradle:${pluginVersion.gradle}", checkstyle : "com.puppycrawl.tools:checkstyle:${pluginVersion.checkstyle}", spotbugs : "gradle.plugin.com.github.spotbugs:gradlePlugin:${pluginVersion.spotbugs}", - sonarqube : "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:${pluginVersion.sonarqube}", coveralls : "org.kt3k.gradle.plugin:coveralls-gradle-plugin:${pluginVersion.coveralls}", errorprone : "net.ltgt.gradle:gradle-errorprone-plugin:${pluginVersion.errorprone}", dependencyGraph : "com.vanniktech:gradle-dependency-graph-generator-plugin:${pluginVersion.dependencyGraph}", diff --git a/gradle/sonarqube.gradle b/gradle/sonarqube.gradle deleted file mode 100644 index 20498ea4391..00000000000 --- a/gradle/sonarqube.gradle +++ /dev/null @@ -1,14 +0,0 @@ -apply plugin: 'org.sonarqube' - -sonarqube { - properties { - property "sonar.java.coveragePlugin", "jacoco" - property "sonar.host.url", "https://sonarcloud.io" - property "sonar.login", System.env.SONARQUBE_API_TOKEN - property "sonar.organization", "mapbox" - property "sonar.projectName", "mapbox-navigation-android" - property "sonar.projectKey", "mapbox-navigation-android" - property "sonar.jacoco.reportPaths", "${project.buildDir}/jacoco/test.exec" - property "sonar.links.homepage", "https://github.com/mapbox/mapbox-navigation-android" - } -} \ No newline at end of file