-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
30 lines (26 loc) · 1.22 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
import scalariform.formatter.preferences._
import com.typesafe.sbt.SbtScalariform
import com.typesafe.sbt.SbtScalariform.ScalariformKeys
// SbtScalariform.scalariformSettings(true)
lazy val commonSettings = Seq(
scalaVersion := "2.12.20",
ScalariformKeys.preferences := ScalariformKeys.preferences.value
.setPreference(AlignArguments, true)
.setPreference(AlignSingleLineCaseStatements, true)
.setPreference(DoubleIndentConstructorArguments, true)
.setPreference(RewriteArrowSymbols, true)
.setPreference(SpacesWithinPatternBinders, false)
.setPreference(SpacesAroundMultiImports, false)
)
lazy val cgeoStatus = (project in file(".")).enablePlugins(PlayScala).settings(commonSettings: _*).settings(
name := "cgeo-status",
version := "1.1",
libraryDependencies ++= Seq(filters, ws, guice,
"com.typesafe.slick" %% "slick" % "3.2.3",
"org.postgresql" % "postgresql" % "42.2.5",
"com.google.api-client" % "google-api-client" % "1.25.0",
"org.apache.commons" % "commons-compress" % "1.20",
"org.scalatestplus.play" %% "scalatestplus-play" % "3.1.2" % "test"),
routesGenerator := InjectedRoutesGenerator
).dependsOn(geoip2)
lazy val geoip2 = RootProject(file("external/maxmind-geoip2-scala"))