-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
46 lines (36 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import com.github.retronym.SbtOneJar._
//import com.typesafe.sbt.SbtAspectj.{ Aspectj, aspectjSettings, compiledClasses }
//
//import com.typesafe.sbt.SbtAspectj.AspectjKeys.{ binaries, inputs, lintProperties }
oneJarSettings
name := "spirit"
organization := "com.qianmi.bugatti"
version := "1.4.6"
//version := "1.1-SNAPSHOT"
scalaVersion := "2.10.4"
libraryDependencies ++= {
val sprayV = "1.3.2"
val akkaV = "2.3.8"
val kamonV = "0.2.3"
Seq(
"com.typesafe.akka" %% "akka-remote" % akkaV,
"com.typesafe.akka" %% "akka-slf4j" % akkaV,
"com.typesafe.akka" %% "akka-testkit" % akkaV % "test",
"io.spray" %% "spray-can" % sprayV,
"com.typesafe.play" %% "play-json" % "2.2.3",
"ch.qos.logback" % "logback-classic" % "1.1.2",
// "io.kamon" %% "kamon-core" % kamonV,
// "io.kamon" %% "kamon-statsd" % kamonV,
"org.scalatest" % "scalatest_2.10" % "2.2.1" % "test"
// "io.spray" % "spray-routing" % sprayV
)
}
mappings in (Compile, packageBin) ~= { _.filter(!_._1.getName.endsWith(".conf")) }
scalacOptions in ThisBuild ++= Seq("-feature")
//aspectjSettings
//
//inputs in Aspectj <+= compiledClasses
//
//products in Compile <<= products in Aspectj
//
//products in Runtime <<= products in Compile