diff --git a/build.sbt b/build.sbt index 1ac5bda..fd38783 100644 --- a/build.sbt +++ b/build.sbt @@ -34,6 +34,7 @@ lazy val root = Project(id = "moie-server", base = file(".")). mainClass in Compile := Some("de.thm.mope.MoPE"), configDir := new File(System.getProperty("user.home")) / ".mope", resolvers += Dependencies.jitpack, + resolvers += Dependencies.localeM2, libraryDependencies ++= Dependencies.usedDependencies, parallelExecution in Test := false, aggregate in Test := false diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 8c902a5..4ffa643 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -1,14 +1,16 @@ import sbt._ +import sbt.io.Path object Dependencies { def fromGithub(url:String) = RootProject(uri(url)) def fromFile(url:String) = RootProject(file(url)) - def omcApi(snapshot:Boolean=false) = - if(snapshot) "com.github.THM-MoTE" % "omc-java-api" % "zeromq-SNAPSHOT" + def omcApi(locale:Boolean=false) = + if(locale) "de.thm.mni.mote" % "omc-java-api" % "0.3.4-zmq-pre" else "de.thm.mni.mote" % "omc-java-api" % "0.3.4" - val jitpack = Resolver.url("jitpack", ulr("https://jitpack.io/")) + val jitpack = "jitpack" at "https://jitpack.io" + val localeM2 = "localem2" at s"file://${Path.userHome}/.m2/repository" private val akkaVersion = "2.4.19" private val akkaHTTPVersion = "10.0.10"