diff options
Diffstat (limited to 'project')
-rw-r--r-- | project/Dependencies.scala | 9 | ||||
-rw-r--r-- | project/FlowBuild.scala | 20 | ||||
-rw-r--r-- | project/plugins.sbt | 2 |
3 files changed, 19 insertions, 12 deletions
diff --git a/project/Dependencies.scala b/project/Dependencies.scala new file mode 100644 index 0000000..d051938 --- /dev/null +++ b/project/Dependencies.scala @@ -0,0 +1,9 @@ +package flow + +import sbt._ + +object Dependencies { + + val akkaActor = "com.typesafe.akka" %% "akka-actor" % "2.4.1" + +} diff --git a/project/FlowBuild.scala b/project/FlowBuild.scala index ca76638..be1b7ef 100644 --- a/project/FlowBuild.scala +++ b/project/FlowBuild.scala @@ -1,12 +1,14 @@ +package flow + import sbt._ import Keys._ object FlowBuild extends Build { val scalaVersions = List("2.11.7", "2.12.0-M3") - + lazy val commonSettings: Seq[Setting[_]] = Seq( - version := "2.4.0-M2", + version := "2.4.0-RC1", scalaVersion in ThisBuild := scalaVersions.head, crossScalaVersions in ThisBuild := scalaVersions.reverse, scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature", "-target:jvm-1.8"), @@ -42,28 +44,24 @@ object FlowBuild extends Build { lazy val main = Project( id = "flow-main", - base = file("flow-main"), - settings = commonSettings + base = file("flow-main") ) lazy val native = Project( id = "flow-native", - base = file("flow-native"), - settings = commonSettings + base = file("flow-native") ) - + lazy val samplesTerminal = Project( id = "flow-samples-terminal", base = file("flow-samples") / "terminal", - settings = commonSettings, dependencies = Seq(main, native % Runtime) ) - + lazy val samplesWatcher = Project( id = "flow-samples-watcher", base = file("flow-samples") / "watcher", - settings = commonSettings, dependencies = Seq(main, native % Runtime) ) - + } diff --git a/project/plugins.sbt b/project/plugins.sbt index 67f075f..edd4ad3 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -addSbtPlugin("ch.jodersky" %% "sbt-jni" % "0.2-SNAPSHOT") +addSbtPlugin("ch.jodersky" %% "sbt-jni" % "0.3.0") addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.3.3") |