Skip to content

Commit

Permalink
Use scalaBinaryVersion instead of hard-coding it in our spark-strea…
Browse files Browse the repository at this point in the history
…ming artifact name

Follow-up #155
  • Loading branch information
julienrf committed Jun 25, 2024
1 parent c38f582 commit a30d2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ inThisBuild(
lazy val `spark-kinesis-dynamodb` = project.in(file("spark-kinesis-dynamodb")).settings(
libraryDependencies ++= Seq(
("org.apache.spark" %% "spark-streaming-kinesis-asl" % sparkVersion)
.excludeAll(InclExclRule("org.apache.spark", "spark-streaming_2.13")), // For some reason, the Spark dependency is not marked as provided in spark-streaming-kinesis-asl. We exclude it and then add it as provided.
.excludeAll(InclExclRule("org.apache.spark", s"spark-streaming_${scalaBinaryVersion.value}")), // For some reason, the Spark dependency is not marked as provided in spark-streaming-kinesis-asl. We exclude it and then add it as provided.
"org.apache.spark" %% "spark-streaming" % sparkVersion % Provided,
"com.amazonaws" % "dynamodb-streams-kinesis-adapter" % dynamodbStreamsKinesisAdapterVersion
)
Expand Down

0 comments on commit a30d2af

Please sign in to comment.