-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
39 lines (33 loc) · 1.01 KB
/
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
33
34
35
36
37
38
39
lazy val shapelessBuilder = (project in file(".")
aggregate(core, examples)
dependsOn(core, examples)
settings(commonSettings: _*)
settings(moduleName := "shapeless-builder-root"))
lazy val core = (project
settings(commonSettings: _*)
settings(moduleName := "shapeless-builder"))
lazy val examples = (project
dependsOn core
settings(commonSettings: _*)
settings(moduleName := "shapeless-builder-examples"))
def commonSettings =
Seq(
organization := "org.aylasoftware",
scalaVersion := "2.12.10",
crossScalaVersions := Seq(scalaVersion.value, "2.10.7", "2.11.12", "2.13.1"),
scalacOptions := Seq(
"-feature",
"-language:higherKinds",
"-Xfatal-warnings",
"-deprecation",
"-unchecked"
),
resolvers ++= Seq(
Resolver.sonatypeRepo("releases"),
Resolver.sonatypeRepo("snapshots")
),
libraryDependencies ++= Seq(
"com.chuusai" %% "shapeless" % "2.3.3" withSources(),
"org.scalatest" %% "scalatest" % "3.1.0" % "test"
)
)