-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
103 lines (87 loc) · 3.82 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
import sbt.Keys._
name := "dnpm-dip-api-gateway"
ThisBuild / organization := "de.dnpm.dip"
ThisBuild / scalaVersion := "2.13.13"
ThisBuild / version := "1.0-SNAPSHOT"
// Compiler options from: https://alexn.org/blog/2020/05/26/scala-fatal-warnings/
scalacOptions ++= Seq(
// Feature options
"-encoding", "utf-8",
"-explaintypes",
"-feature",
"-language:existentials",
"-language:experimental.macros",
"-language:higherKinds",
"-language:implicitConversions",
"-language:postfixOps",
"-Ymacro-annotations",
// Warnings as errors!
"-Xfatal-warnings",
// Linting options
"-unchecked",
"-Xcheckinit",
"-Xlint:adapted-args",
"-Xlint:constant",
"-Xlint:delayedinit-select",
"-Xlint:deprecation",
"-Xlint:doc-detached",
"-Xlint:inaccessible",
"-Xlint:infer-any",
"-Xlint:missing-interpolator",
"-Xlint:nullary-unit",
"-Xlint:option-implicit",
"-Xlint:package-object-classes",
"-Xlint:poly-implicit-overload",
"-Xlint:private-shadow",
"-Xlint:stars-align",
"-Xlint:type-parameter-shadow",
"-Wdead-code",
"-Wextra-implicit",
"-Wnumeric-widen",
"-Wunused:imports",
"-Wunused:locals",
"-Wunused:patvars",
"-Wunused:privates",
"-Wunused:implicits",
"-Wvalue-discard",
// To avoid many false positive errors about "unused import" etc from conf/routes
"-Wconf:src=target/.*:s"
// Deactivated to avoid many false positive errors from 'evidence' parameters in context bounds
// "-Wunused:params",
)
libraryDependencies ++= Seq(
caffeine,
guice,
"org.scalatestplus.play" %% "scalatestplus-play" % "7.0.1" % Test, //TODO: version!
"de.ekut.tbi" %% "generators" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "admin-service-api" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "admin-service-impl" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "catalog-service-api" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "catalog-service-impl" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "service-base" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "mtb-validation-service-api" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "mtb-validation-service-impl" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "mtb-query-service-api" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "mtb-query-service-impl" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "mtb-dto-model-v1" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "rd-validation-service-api" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "rd-validation-service-impl" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "rd-query-service-api" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "rd-query-service-impl" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "connector-base" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "hp-ontology" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "omim-catalog" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "orphanet-ordo" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "hgnc-gene-set-impl" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "icd10gm-impl" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "icdo3-impl" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "icd-claml-packaged" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "atc-impl" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "atc-catalogs-packaged" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "auth-api" % "1.0-SNAPSHOT",
// "de.dnpm.dip" %% "fake-auth-service" % "1.0-SNAPSHOT",
"de.dnpm.dip" %% "standalone-authup-client" % "1.0-SNAPSHOT",
)
lazy val root = (project in file("."))
.enablePlugins(PlayScala)
.settings()