-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
67 lines (60 loc) · 1.86 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// Generated with scalagen
val scalatestVersion = "3.1.0"
val commonSettings = Seq(
scalaVersion := "2.12.8",
version := "0.2.4",
organization := "io.mwielocha",
scalacOptions ++= Seq(
"-language:postfixOps",
"-language:implicitConversions",
"-deprecation",
"-feature",
"-Yrangepos",
"-Ywarn-unused-import",
"-language:existentials",
"-language:higherKinds",
"-Ypartial-unification",
"-language:postfixOps",
),
publishMavenStyle := true,
publishArtifact in Test := false,
pomIncludeRepository := { _ => false },
homepage := Some(url("https://github.com/mwielocha/differential")),
scmInfo := Some(
ScmInfo(url("https://github.com/mwielocha/differential"),
"[email protected]:mwielocha/differential.git")),
developers := List(
Developer("mwielocha",
"Mikolaj Wielocha",
url("https://github.com/mwielocha"
)
)
),
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0")),
publishMavenStyle := true,
publishTo := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
)
)
lazy val `differential-core` = (project in file("differential-core")).
settings(commonSettings ++ Seq(
name := "differential-core",
libraryDependencies ++= Seq(
"com.chuusai" %% "shapeless" % "2.3.3",
"org.scalatest" %% "scalatest" % scalatestVersion % Test,
)
))
lazy val `differential-scalatest` = (project in file("differential-scalatest")).
settings(commonSettings ++ Seq(
name := "differential-scalatest",
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % scalatestVersion,
"com.lihaoyi" %% "pprint" % "0.5.6"
)
)).dependsOn(`differential-core`)
lazy val root = (project in file("."))
.aggregate(`differential-core`, `differential-scalatest`)