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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
package flow
import sbt._
import Keys._
object FlowBuild extends Build {
val scalaVersions = List("2.11.8", "2.12.0-M4")
lazy val commonSettings: Seq[Setting[_]] = Seq(
resolvers += Resolver.jcenterRepo,
scalaVersion in ThisBuild := scalaVersions.head,
crossScalaVersions in ThisBuild := scalaVersions.reverse,
scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature", "-target:jvm-1.8"),
organization := "com.github.jodersky",
licenses := Seq(("BSD New", url("http://opensource.org/licenses/BSD-3-Clause"))),
homepage := Some(url("https://jodersky.github.io/flow")),
pomIncludeRepository := { _ => false },
pomExtra := {
<scm>
<url>git@github.com:jodersky/flow.git</url>
<connection>scm:git:git@github.com:jodersky/flow.git</connection>
</scm>
<developers>
<developer>
<id>jodersky</id>
<name>Jakob Odersky</name>
</developer>
</developers>
}
)
lazy val root = (project in file(".")).
aggregate(core, native, stream)
lazy val core = (project in file("flow-core"))
lazy val native = (project in file("flow-native"))
lazy val stream = (project in file("flow-stream")).
dependsOn(core)
lazy val samplesTerminal = (project in file("flow-samples") / "terminal").
dependsOn(core, native % Runtime)
lazy val samplesTerminalStream = (project in file("flow-samples") / "terminal-stream").
dependsOn(stream, native % Runtime)
lazy val samplesWatcher = (project in file("flow-samples") / "watcher").
dependsOn(core, native % Runtime)
}
|