-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
49 lines (38 loc) · 1.35 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
name := "service-base"
ThisBuild / organization := "de.dnpm.dip"
ThisBuild / scalaVersion := "2.13.13"
ThisBuild / version := "1.0-SNAPSHOT"
//-----------------------------------------------------------------------------
// PROJECT
//-----------------------------------------------------------------------------
lazy val root = project.in(file("."))
.settings(settings)
.settings(
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.1.1" % Test,
"de.dnpm.dip" %% "core" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "icd-api" % "1.0-SNAPSHOT",
"de.ekut.tbi" %% "validators" % "1.0-SNAPSHOT",
"de.ekut.tbi" %% "generators" % "1.0-SNAPSHOT" % Test
)
)
//-----------------------------------------------------------------------------
// SETTINGS
//-----------------------------------------------------------------------------
lazy val settings = commonSettings
lazy val compilerOptions = Seq(
"-encoding", "utf8",
"-unchecked",
"-Xfatal-warnings",
"-feature",
"-language:higherKinds",
"-language:postfixOps",
"-deprecation"
)
lazy val commonSettings = Seq(
scalacOptions ++= compilerOptions,
resolvers ++=
Seq("Local Maven Repository" at "file://" + Path.userHome.absolutePath + "/.m2/repository") ++
Resolver.sonatypeOssRepos("releases") ++
Resolver.sonatypeOssRepos("snapshots")
)