-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
42 lines (31 loc) · 1.27 KB
/
build.sbt
File metadata and controls
42 lines (31 loc) · 1.27 KB
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
import sbt._
import Keys._
name := """finchTutorial"""
version := "0.0.1-SNAPSHOT"
scalaVersion := "2.11.5"
scalafmtConfig in ThisBuild := Some(file(".scalafmt.conf"))
crossScalaVersions := Seq("2.9.2", "2.11.5")
lazy val finagleVersion = "6.34.0"
lazy val twitterServerVersion = "1.20.0"
lazy val circeVersion = "0.5.3"
lazy val finchVersion = "0.11.0-M4"
libraryDependencies ++= Seq(
"com.twitter" %% "finagle-http" % finagleVersion,
"io.circe" %% "circe-core" % circeVersion,
"io.circe" %% "circe-generic" % circeVersion,
"io.circe" %% "circe-parser" % circeVersion,
"com.github.finagle" %% "finch-core" % finchVersion,
"com.github.finagle" %% "finch-circe" % finchVersion,
"com.twitter" %% "twitter-server" % twitterServerVersion,
"com.typesafe" % "config" % "1.3.1",
"com.typesafe.slick" %% "slick" % "3.0.0",
"com.h2database" % "h2" % "1.3.175",
compilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)
)
resolvers ++= Seq(
Resolver.sonatypeRepo("snapshots")
)
lazy val root =
project.in(file(".")).settings(mainClass in (Compile, run) := Some("lunatech.Server"))
fork in run := true
reformatOnCompileSettings