diff options
author | Jakob Odersky <jodersky@gmail.com> | 2015-12-28 11:54:00 +0100 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2016-01-29 13:50:37 -0800 |
commit | 4f4c799a6d9ccf333a3e609a2464e2f317875af7 (patch) | |
tree | 599232dd8c97fa9eb8f3426ea4375216ecadb386 /project/MavigatorBuild.scala | |
parent | c77bf21e7f4c197d34d23b2aebe5953a75d099e2 (diff) | |
download | mavigator-4f4c799a6d9ccf333a3e609a2464e2f317875af7.tar.gz mavigator-4f4c799a6d9ccf333a3e609a2464e2f317875af7.tar.bz2 mavigator-4f4c799a6d9ccf333a3e609a2464e2f317875af7.zip |
Rename project and update dependencies
Diffstat (limited to 'project/MavigatorBuild.scala')
-rw-r--r-- | project/MavigatorBuild.scala | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/project/MavigatorBuild.scala b/project/MavigatorBuild.scala new file mode 100644 index 0000000..5bc999c --- /dev/null +++ b/project/MavigatorBuild.scala @@ -0,0 +1,57 @@ +package mavigator + +import sbt._ +import sbt.Keys._ +import sbt.Project.projectToRef + +object MavigatorBuild extends Build { + + // settings common to all projects + val defaultSettings = Seq( + scalaVersion := "2.11.7", + scalacOptions ++= Seq("-feature", "-deprecation") + ) + + // root super-project + lazy val root = Project( + id = "root", + base = file("."), + aggregate = Seq(bindings, uav) + ) + + // empty project that uses SbtMavlink to generate protocol bindings + lazy val bindings = Project( + id = "mavigator-bindings", + base = file("mavigator-bindings") + ) + + // main akka http server project + lazy val server = Project( + id = "mavigator-server", + base = file("mavigator-server"), + dependencies = Seq(bindings, uav) + ) + + // communication backend + lazy val uav = Project( + id = "mavigator-uav", + base = file("mavigator-uav"), + dependencies = Seq(bindings) + ) + + // main cockpit front-end + lazy val dashboard = Project( + id = "mavigator-dashboard", + base = file("mavigator-dashboard"), + dependencies = Seq(bindings) + ) + + /* + // landing page providing selection of drone + lazy val index = Project( + id = "mavigator-index", + base = file("mavigator-index"), + dependencies = Seq(bindings) + ) + */ +} |