Skip to content

Commit 3cff924

Browse files
committed
Exclude Kafka if Scala >= 2.12.0
1 parent 99b2a43 commit 3cff924

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def excludeJpountz(items: Seq[ModuleID]) =
234234

235235
libraryDependencies ++= excludeJpountz(
236236
// For Spark 2.4 w/ Scala 2.12 we're going to need some special logic
237-
if (sparkVersion.value >= "2.3.0") {
237+
if (sparkVersion.value >= "2.3.0" && scalaVersion.value < "2.12.0") {
238238
Seq(
239239
"org.apache.spark" %% "spark-streaming-kafka-0-8" % sparkVersion.value
240240
)

0 commit comments

Comments
 (0)