-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
44 lines (39 loc) · 1.15 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
val projectName = IO.readLines(new File("PROJECT_NAME")).head
val v = IO.readLines(new File("VERSION")).head
val scala11 = "2.11.12"
val scala12 = "2.12.7"
lazy val rootSettings = Seq(
organization := "com.leobenkel",
homepage := Some(url("https://github.com/leobenkel/Laeta")),
licenses := List("MIT" -> url("https://opensource.org/licenses/MIT")),
developers := List(
Developer(
"leobenkel",
"Leo Benkel",
"",
url("https://leobenkel.com")
)
),
scalaVersion := scala11,
crossScalaVersions := Seq(scala11, scala12),
soteriaAddSemantic := false
)
lazy val commonSettings = rootSettings ++ Seq(
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.2.2" % Test
),
updateOptions := updateOptions.value.withGigahorse(false),
publishArtifact in Test := false,
pomIncludeRepository := (_ => false)
)
lazy val root = (project in file("."))
.aggregate(library)
.settings(
name := s"$projectName-$v",
rootSettings
)
lazy val library = (project in file("Library"))
.settings(
commonSettings,
name := projectName
)