forked from timcharper/acked-stream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
49 lines (37 loc) · 1.2 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
name := "acked-streams"
organization := "com.timcharper"
scalaVersion := "2.13.2"
crossScalaVersions := Seq("2.12.11", "2.13.2")
val appProperties = {
val prop = new java.util.Properties()
IO.load(prop, new File("project/version.properties"))
prop
}
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-stream" % "2.5.31",
"org.scalatest" %% "scalatest" % "3.1.1" % "test")
version := appProperties.getProperty("version")
homepage := Some(url("https://github.com/timcharper/acked-stream"))
licenses := Seq("Apache 2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
pomExtra := {
<scm>
<url>https://github.com/timcharper/acked-stream</url>
<connection>scm:git:git@github.com:timcharper/acked-stream.git</connection>
</scm>
<developers>
<developer>
<id>timcharper</id>
<name>Tim Harper</name>
<url>http://timcharper.com</url>
</developer>
</developers>
}
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")
}
publishArtifact in Test := false