SBT dependencies helpers
- Add the plugin to the file
project/plugins.sbt
:addSbtPlugin("io.h8.sbt" %% "sbt-dependencies" % "1.0.0")
- Import the package
io.h8.sbt.dependencies._
(in the filebuild.sbt
you should use_root_.io.h8.sbt.dependencies._
because there is automatically importedsbt._
which containsio
package) - Add group dependencies:
Other modules modifiers (like
libraryDependencies ++= ( Seq( "com.fasterxml.jackson.core" % "jackson-databind", "com.fasterxml.jackson.core" % "jackson-core", "com.fasterxml.jackson.module" %% "jackson-module-scala" ) % "2.14.1") ++ ( "org.apache.spark" %% Seq( "spark-core", "spark-sql", "spark-streaming" ) % "3.3.1") ++ ( "org.junit.jupiter" % Seq( "junit-jupiter-api", "junit-jupiter-engine", "junit-jupiter-params" ) % "5.9.1" % Test)
exclude
,excludeAll
orforce
) are applicable too.