-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
32 lines (26 loc) · 906 Bytes
/
build.sbt
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
import sbt.Keys._
scalaVersion := tnm.ScalaVersion.curr
crossScalaVersions := Seq(tnm.ScalaVersion.curr, tnm.ScalaVersion.prev, tnm.ScalaVersion.aged)
val core = Project("enum-utils", file("core"))
.enablePlugins(OssLibPlugin)
.settings(organization := "com.thenewmotion",
name := "enum-utils",
libraryDependencies ++= Seq(
"org.specs2" %% "specs2-core" % "4.8.1" % "test"
)
)
val sprayJson = Project("enum-utils-spray-json", file("spray-json"))
.enablePlugins(OssLibPlugin)
.dependsOn(core)
.settings(
organization := "com.thenewmotion",
name := "enum-utils-spray-json",
libraryDependencies ++= Seq(
"io.spray" %% "spray-json" % "1.3.5",
"org.specs2" %% "specs2-core" % "4.8.1" % "test"
)
)
val parent = Project("enum-utils-parent", file("."))
.aggregate(core, sprayJson)
.enablePlugins(OssLibPlugin)
.settings(publish := {})