Skip to content

Commit 3adaf61

Browse files
committed
all: remove sonar
1 parent 1af6b5e commit 3adaf61

File tree

4 files changed

+1
-50
lines changed

4 files changed

+1
-50
lines changed

Makefile

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,6 @@ test-coverage:
1616
./gradlew testDebugCoverageUnitTest && \
1717
awk -F"," '{ instructions += $$4 + $$5; covered += $$5 } END { print covered, "/", instructions, "instructions covered"; print "Total", 100*covered/instructions "% covered" }' hms-plugin/build/test-results/jacoco.csv
1818

19-
check-token:
20-
ifndef SONAR_TOKEN
21-
$(error SONAR_TOKEN is undefined)
22-
endif
23-
24-
sonar: check-token
25-
./gradlew sonarqube
26-
2719
lint:
2820
./gradlew lintDebug
2921

@@ -32,4 +24,4 @@ ci: clean lint test-coverage aar
3224
publish: aar
3325
./gradlew :hms-plugin:publish
3426

35-
.PHONY: ci sonar check-token aar clean
27+
.PHONY: ci aar clean

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ buildscript {
77
}
88
dependencies {
99
classpath 'com.android.tools.build:gradle:8.3.0'
10-
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.8'
1110
classpath 'com.huawei.agconnect:agcp:1.9.1.302'
1211
// NOTE: Do not place your application dependencies here; they belong
1312
// in the individual module build.gradle files

hms-plugin/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,3 @@ dependencies {
5555

5656
apply from: 'maven-publish.gradle'
5757
apply from: 'jacoco.gradle'
58-
apply from: 'sonar.gradle'

hms-plugin/sonar.gradle

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)