-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
31 lines (24 loc) · 1.02 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
name := "repository-component"
organization := "dot.cpp"
version := "1.0"
lazy val root = (project in file(".")).enablePlugins(PlayJava)
scalaVersion := "2.13.10"
libraryDependencies ++= Seq(
guice,
"org.jetbrains" % "annotations" % "24.0.1",
"org.slf4j" % "slf4j-api" % "2.0.6",
"ch.qos.logback" % "logback-classic" % "1.4.5",
"dev.morphia.morphia" % "morphia-core" % "2.3.5",
"com.github.victools" % "jsonschema-generator" % "4.28.0",
"com.github.victools" % "jsonschema-module-jackson" % "4.28.0",
"com.github.victools" % "jsonschema-module-javax-validation" % "4.28.0"
)
assembly / assemblyMergeStrategy := {
case PathList("META-INF", _*) => MergeStrategy.discard
case _ => MergeStrategy.first
}
Global / onChangedBuildSource := ReloadOnSourceChanges
jcheckStyleConfig := "google-checks.xml"
// compile will run checkstyle on app files and test files
(Compile / compile) := ((Compile / compile) dependsOn (Compile / jcheckStyle)).value
(Compile / compile) := ((Compile / compile) dependsOn (Test / jcheckStyle)).value