forked from gfc-collective/gfc-aws-s3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
66 lines (45 loc) · 1.71 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
import scoverage.ScoverageKeys
name := "gfc-aws-s3"
organization := "org.gfccollective"
description := "Library to handle data streaming to and from s3"
scalaVersion := "2.13.5"
crossScalaVersions := Seq(scalaVersion.value, "2.12.12")
scalacOptions += "-target:jvm-1.8"
javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
ScoverageKeys.coverageFailOnMinimum := true
ScoverageKeys.coverageMinimum := 90.0
libraryDependencies ++= Seq(
"org.slf4j" % "slf4j-api" % "1.7.30",
"com.amazonaws" % "aws-java-sdk-s3" % "1.11.923",
"com.typesafe.akka" %% "akka-stream" % "2.6.13",
"org.scalatest" %% "scalatest" % "3.2.6" % Test,
"org.scalamock" %% "scalamock" % "5.1.0" % Test,
)
releaseCrossBuild := true
releasePublishArtifactsAction := PgpKeys.publishSigned.value
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
pomIncludeRepository := { _ => false }
startYear := Some(2017)
licenses := Seq("Apache-style" -> url("https://raw.githubusercontent.com/gfc-collective/gfc-aws-s3/master/LICENSE"))
homepage := Some(url("https://github.com/gfc-collective/gfc-aws-s3"))
pomExtra := (
<scm>
<url>https://github.com/gfc-collective/gfc-aws-s3.git</url>
<connection>scm:git:[email protected]:gfc-collective/gfc-aws-s3.git</connection>
</scm>
<developers>
<developer>
<id>mikegirkin</id>
<name>Mike Girkin</name>
<url>https://github.com/mikegirkin</url>
</developer>
</developers>
)