Skip to content

Commit f2dc698

Browse files
committed
add property condition
1 parent 6fd96bb commit f2dc698

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ plugins {
2424
id "com.github.johnrengelman.shadow" version "8.1.1" apply false
2525
}
2626

27+
if (project.hasProperty('enableSonar')) {
28+
apply plugin: 'org.sonarqube'
29+
}
30+
2731
project.ext {
2832
spark_binary_version = System.getProperty("spark_binary_version")
2933
scala_binary_version = System.getProperty("scala_binary_version")

0 commit comments

Comments
 (0)