-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.sbt
61 lines (42 loc) · 1.57 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
name := "gfc-aws-s3"
organization := "com.gilt"
description := "Library to handle data streaming to and from s3"
scalaVersion := "2.11.11"
crossScalaVersions := Seq(scalaVersion.value, "2.12.2")
scalacOptions += "-target:jvm-1.7"
javacOptions ++= Seq("-source", "1.7", "-target", "1.7")
libraryDependencies ++= Seq(
"org.slf4j" % "slf4j-api" % "1.7.25",
"com.amazonaws" % "aws-java-sdk-s3" % "1.11.109",
"com.typesafe.akka" %% "akka-stream" % "2.5.1",
"org.scalatest" %% "scalatest" % "3.0.1" % Test,
"org.scalamock" %% "scalamock-scalatest-support" % "3.6.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/gilt/gfc-aws-s3/master/LICENSE"))
homepage := Some(url("https://github.com/gilt/gfc-aws-s3"))
pomExtra := (
<scm>
<url>https://github.com/gilt/gfc-aws-s3.git</url>
<connection>scm:git:[email protected]:gilt/gfc-aws-s3.git</connection>
</scm>
<developers>
<developer>
<id>mikegirkin</id>
<name>Mike Girkin</name>
<url>https://github.com/mikegirkin</url>
</developer>
</developers>
)