blob: ac1974b5d8235a05b8f6e8770a6f2cead4bb72c1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
import sbt._
import sbt.Keys._
import play.twirl.sbt.SbtTwirl
import play.twirl.sbt.Import._
object BuildBuild extends Build {
lazy val root = (
Project("root", file("."))
settings(
resolvers += "Typesafe repository" at "https://repo.typesafe.com/typesafe/releases/",
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.8"),
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.1")
)
dependsOn(mavlinkPlugin)
)
lazy val mavlinkLibrary = (
Project("mavlink-library", file("mavlink-library"))
enablePlugins(SbtTwirl)
settings(
libraryDependencies += "com.github.scala-incubator.io" %% "scala-io-file" % "0.4.2",
TwirlKeys.templateImports += "com.github.jodersky.mavlink._"
)
)
lazy val mavlinkPlugin = (
Project("mavlink-plugin", file("mavlink-plugin"))
settings(
sbtPlugin := true
)
dependsOn(mavlinkLibrary)
)
}
|