How to use java libraries with scala using sbt? -
so, have project written in scala spark. current sbt file looks this.
name := "myprogram" version := "1.0" scalaversion := "2.10.4" librarydependencies += "org.apache.spark" %% "spark-core" % "1.1.0"
say, want use external java libraries, , libraries in directory lib. how should modify sbt file include libraries?
sbt should auto include jars inside lib folder.
dependencies floating around in lib folder (rather declared in build.sbt file) called unmanaged dependencies
Comments
Post a Comment