-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
86 lines (74 loc) · 2.82 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
86
import net.virtualvoid.sbt.graph.Plugin._
lazy val akkaHttpDocker = (project in file("."))
.enablePlugins(JavaAppPackaging)
.settings(
exportJars := true,
scalaVersion := "2.11.8",
organization := "com.jbrisbin.docker",
name := "akka-http-docker",
version := "0.1.0-SNAPSHOT",
publishMavenStyle := true,
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
},
pomIncludeRepository := { _ => false },
pomExtra := (
<url>https://github.com/jbrisbin/akka-http-docker/</url>
<licenses>
<license>
<name>Apache-2.0</name>
<url>https://opensource.org/licenses/Apache-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:jbrisbin/akka-http-docker.git</url>
<connection>scm:git:[email protected]:jbrisbin/akka-http-docker.git</connection>
</scm>
<developers>
<developer>
<id>jbrisbin</id>
<name>Jon Brisbin</name>
<url>http://jbrisbin.com</url>
</developer>
</developers>
),
resolvers ++= Seq(
Resolver.bintrayRepo("hseeberger", "maven")
),
libraryDependencies ++= {
val scalaLoggingVersion = "2.1.2"
val jacksonVersion = "2.7.3"
val akkaVersion = "2.4.5"
val junitVersion = "4.12"
val scalaTestVersion = "3.0.0-M15"
Seq(
// Logging
"com.typesafe.scala-logging" %% "scala-logging-slf4j" % scalaLoggingVersion,
// Jackson JSON
"com.fasterxml.jackson.module" %% "jackson-module-scala" % jacksonVersion,
"org.json4s" %% "json4s-jackson" % "3.3.0",
// Akka
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"com.typesafe.akka" %% "akka-http-core" % akkaVersion,
"de.heikoseeberger" %% "akka-http-json4s" % "1.6.0",
// SSL
"org.apache.httpcomponents" % "httpclient" % "4.5.2",
"org.bouncycastle" % "bcpkix-jdk15on" % "1.54",
// Testing
"junit" % "junit" % junitVersion % "test",
"com.novocode" % "junit-interface" % "0.11" % "test",
"org.hamcrest" % "hamcrest-library" % "1.3" % "test",
"org.scalatest" %% "scalatest" % scalaTestVersion % "test",
"ch.qos.logback" % "logback-classic" % "1.1.7" % "test"
)
},
ivyScala := ivyScala.value map {
_.copy(overrideScalaVersion = true)
},
graphSettings
)