-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.sbt
executable file
·85 lines (70 loc) · 2.35 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
import SonatypeKeys._
sonatypeSettings
organization := "com.imadethatcow"
profileName := "poweld"
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { _ => false }
pomExtra := {
<url>https://github.com/poweld/hipchat-scala</url>
<licenses>
<license>
<name>MIT</name>
<url>http://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:poweld/hipchat-scala.git</url>
<connection>scm:git:[email protected]:poweld/hipchat-scala.git</connection>
</scm>
<developers>
<developer>
<id>poweld</id>
<name>Dave Powell</name>
<email>[email protected]</email>
<url>https://github.com/poweld</url>
</developer>
<developer>
<id>mdotson</id>
<name>Michael Dotson</name>
</developer>
<developer>
<id>giabao</id>
<name>Gia Bảo</name>
<email>[email protected]</email>
<organization>Sân Đình</organization>
<organizationUrl>http://sandinh.com</organizationUrl>
</developer>
</developers>
}
name := "hipchat-scala"
version := "1.2"
scalaVersion := "2.11.2"
crossScalaVersions := Seq(
"2.11.2",
"2.10.4"
)
scalacOptions ++= Seq(
"-encoding", "UTF-8", "-deprecation", "-unchecked", "-feature", //"-optimise",
"-Xmigration", "-Xfuture", //"–Xverify", "-Xcheck-null", "-Ystatistics",
"-Yinline-warnings", //"-Yinline",
"-Ywarn-dead-code", "-Ydead-code"
)
javacOptions ++= Seq("-encoding", "UTF-8", "-source", "1.7", "-target", "1.7", "-Xlint:unchecked", "-Xlint:deprecation")
libraryDependencies ++= Seq(
"ch.qos.logback" % "logback-classic" % "1.1.2",
"com.fasterxml.jackson.core" % "jackson-core" % "2.4.2",
"com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.4.2",
"net.databinder.dispatch" %% "dispatch-core" % "0.11.3",
"com.typesafe.akka" %% "akka-actor" % "2.3.6",
"joda-time" % "joda-time" % "2.4",
"org.joda" % "joda-convert" % "1.7",
"com.typesafe" % "config" % "1.2.1",
"org.scalatest" %% "scalatest" % "2.2.2" % "test"
)
mappings in(Compile, packageBin) ~= {
_.filterNot {
case (file, _) => file.getName == "logback.xml"
}
}