forked from poweld/hipchat-scala
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
executable file
·80 lines (66 loc) · 2.3 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
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.1"
scalaVersion := "2.12.2"
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.8", "-target", "1.8", "-Xlint:unchecked", "-Xlint:deprecation")
libraryDependencies ++= Seq(
"ch.qos.logback" % "logback-classic" % "1.2.3",
"com.fasterxml.jackson.core" % "jackson-core" % "2.8.8",
"com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.8.8",
"net.databinder.dispatch" %% "dispatch-core" % "0.12.0",
"com.typesafe.akka" %% "akka-actor" % "2.4.17",
"joda-time" % "joda-time" % "2.9.7",
"org.joda" % "joda-convert" % "1.2",
"com.typesafe" % "config" % "1.2.1",
"org.scalatest" %% "scalatest" % "3.0.1" % "test"
)
mappings in(Compile, packageBin) ~= {
_.filterNot {
case (file, _) => file.getName == "logback.xml"
}
}