Skip to content

Commit 71c0878

Browse files
committed
Make SonarQube Plugin Conditional
1 parent da8c5e1 commit 71c0878

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/sonar.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
cache: gradle
3333
- run: >-
3434
./gradlew sonarqube
35+
-PenableSonar=true
3536
-Dsonar.projectKey=spark-clickhouse-connector
3637
-Dsonar.host.url=${{ secrets.SONAR_URL }}
3738
-Dsonar.login=${{ secrets.SONAR_TOKEN }}

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import org.codehaus.groovy.runtime.GStringImpl
1717
plugins {
1818
id "idea"
1919
id "org.scoverage" version "8.1" apply false
20-
id "org.sonarqube" version "4.4.1.3373"
20+
id "org.sonarqube" version "4.4.1.3373" apply false
2121
id "com.diffplug.spotless" version "6.12.1" apply false
2222
id "org.nosphere.apache.rat" version "0.8.1"
2323
id "com.github.maiflai.scalatest" version "0.32" apply false

0 commit comments

Comments
 (0)