My project has dependency on an external jar. I have created a directory lib and have copied the jar file into it. This is my build.sbt:
I was racking my brain with resolvers and settingKey vars, but it seems this is the most straight-forward way (https://www.scala-sbt.org/release/docs/Library-Dependencies.html):
resolvers += "Local Maven Repository" at "file://"+Path.userHome.absolutePath+"/.m2/repository"
then just add to libraryDependencies as you normally would
libraryDependencies += "