-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
31 lines (26 loc) · 1.07 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 := "flights"
organization := "com.starcolon"
description := "Travelling made easy with flights analysis"
homepage := Some(url("https://github.com/starcolon/flights"))
version := "0.0.1-SNAPSHOT"
scalaVersion := "2.11.8"
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature", "-Xlint")
libraryDependencies ++= Seq(
"com.nrinaudo" %% "kantan.csv" % "0.1.9",
"com.typesafe" % "config" % "1.3.0",
"org.slf4j" % "slf4j-nop" % "1.6.4",
"com.typesafe.slick" %% "slick" % "3.1.1",
"com.h2database" % "h2" % "1.4.192",
"net.liftweb" %% "lift-json" % "2.6"
)
/**
* Automated source formatting upon compile, for consistency and focused code
* reviews.
*/
import com.typesafe.sbt.SbtScalariform
import com.typesafe.sbt.SbtScalariform.ScalariformKeys
import scalariform.formatter.preferences._
ScalariformKeys.preferences := ScalariformKeys.preferences.value
.setPreference(AlignSingleLineCaseStatements, true)
.setPreference(DoubleIndentClassDeclaration, true)
.setPreference(PreserveDanglingCloseParenthesis, true)