/
build.sbt
69 lines (57 loc) · 1.97 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
name := "dcm4che-streams"
version := "0.4"
organization := "se.nimsa"
scalaVersion := "2.12.2"
scalacOptions := Seq("-encoding", "UTF-8", "-Xlint", "-deprecation", "-unchecked", "-feature", "-target:jvm-1.8")
// repos
resolvers ++= Seq(
"Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/",
"dcm4che Repository" at "http://www.dcm4che.org/maven2/")
// deps
libraryDependencies ++= {
val akkaVersion = "2.5.2"
Seq(
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion,
"org.slf4j" % "slf4j-simple" % "1.7.25",
"org.dcm4che" % "dcm4che-core" % "3.3.8" % "provided",
"org.scalatest" %% "scalatest" % "3.0.3" % "test",
"com.typesafe.akka" %% "akka-stream-testkit" % akkaVersion % "test"
)
}
updateOptions := updateOptions.value.withCachedResolution(true)
// for automatic license stub generation
organizationName := "Lars Edenbrandt"
startYear := Some(2017)
licenses += ("Apache-2.0", new URL("https://www.apache.org/licenses/LICENSE-2.0.txt"))
// publish
publishMavenStyle := true
publishArtifact in Test := false
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/slicebox/dcm4che-streams</url>
<licenses>
<license>
<name>Apache-2.0</name>
<url>https://opensource.org/licenses/Apache-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:slicebox/dcm4che-streams.git</url>
<connection>scm:git:git@github.com:slicebox/dcm4che-streams.git</connection>
</scm>
<developers>
<developer>
<id>KarlSjostrand</id>
<name>Karl Sjöstrand</name>
<url>https://github.com/KarlSjostrand</url>
</developer>
</developers>)