When deciding on dependencies, always try and compare what you have with the maven dependency references.
E.g. I am looking for an SBT dependency for Spark streamin 2.4.5 compiled with Scala 2.12.
I go to the MVN dependency page for Spark streaming here: Maven spark streaming
I then select the tab for SBT:
As this shows the correct term is:
libraryDependencies += “org.apache.spark” %% “spark-streaming” % “2.4.5” % “provided”
As you are probably running this on a cluster they use the provided scope as this marks **dependencies that should be provided at runtime by JDK or a container **.