-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
35 lines (28 loc) · 1.27 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
name := """ddd"""
organization := "com.example"
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.12.6"
libraryDependencies += guice
libraryDependencies += evolutions
libraryDependencies += "mysql" % "mysql-connector-java" % "5.1.41"
libraryDependencies += specs2 % Test
libraryDependencies ++= Seq(
"org.scalikejdbc" %% "scalikejdbc" % "3.3.0",
"org.scalikejdbc" %% "scalikejdbc-test" % "3.3.0" % "test",
"org.scalikejdbc" %% "scalikejdbc-config" % "3.3.0",
"org.scalikejdbc" %% "scalikejdbc-play-initializer" % "2.6.0-scalikejdbc-3.3",
"org.scalikejdbc" %% "scalikejdbc-play-dbapi-adapter" % "2.6.0-scalikejdbc-3.3"
)
// https://mvnrepository.com/artifact/javax.validation/validation-api
libraryDependencies += "javax.validation" % "validation-api" % "2.0.1.Final"
com.typesafe.sbt.SbtScalariform.ScalariformKeys.preferences := {
import scalariform.formatter.preferences._
FormattingPreferences()
.setPreference(AlignArguments, true)
.setPreference(AlignSingleLineCaseStatements, true)
.setPreference(AlignSingleLineCaseStatements.MaxArrowIndent, 20)
.setPreference(DanglingCloseParenthesis, Force)
.setPreference(CompactControlReadability, true)
.setPreference(SpacesAroundMultiImports, false)
}