scala - SBT resolves java dependency but no package/class can be found -


i trying integrate eclipse's jgit playframework application.

now have more modules, how looks @ moment play:

lazy val play = (project in file("play"))   .settings(     name := "play"     , librarydependencies ++= seq(       , "com.typesafe.play" %% "play-json" % "2.6.0-m6"       // jgit       , "org.eclipse.jgit" % "org.eclipse.jgit" % "4.6.1.201703071140-r"     ) 

the dependency can resolved fine if try add package, e.g.

val git: git = org.eclipse.jgit.api.git.init().setdirectory(...) 

an error thrown @ face jgit not found. why be?

the module dependent on quite other dependencies , other modules well, scala ones.


Comments