Skip to content

Commit

Permalink
use omc-java-api directly from repository
Browse files Browse the repository at this point in the history
  • Loading branch information
N. Justus committed Nov 30, 2018
1 parent cf925ef commit 52e03ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ lazy val root = Project(id = "moie-server", base = file(".")).
javacOptions ++= Seq("-source", "1.8"),
mainClass in Compile := Some("de.thm.mope.MoPE"),
configDir := new File(System.getProperty("user.home")) / ".mope",
resolvers += Dependencies.jitpack,
libraryDependencies ++= Dependencies.usedDependencies,
parallelExecution in Test := false,
aggregate in Test := false
Expand Down
8 changes: 6 additions & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ 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"
else "de.thm.mni.mote" % "omc-java-api" % "0.3.4"

val jitpack = Resolver.url("jitpack", ulr("https://jitpack.io/"))

private val akkaVersion = "2.4.19"
private val akkaHTTPVersion = "10.0.10"
Expand All @@ -29,8 +34,7 @@ object Dependencies {
private val scalaUtilsGroup = "org.scala-lang.modules"

val utils = Seq(
"de.thm.mni.mote" % "omc-java-api" % "0.3.4",
"com.typesafe" % "config" % "1.3.0",
omcApi(true),
scalaUtilsGroup %% "scala-parser-combinators" % scalaUtilsVersion,
"org.rogach" %% "scallop" % "3.1.1"
)
Expand Down

0 comments on commit 52e03ca

Please sign in to comment.