forked from kdrakon/scala-credstash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
51 lines (44 loc) · 1.39 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
import scalariform.formatter.preferences._
import com.typesafe.sbt.SbtScalariform
import com.typesafe.sbt.SbtScalariform.ScalariformKeys
name := "scala-credstash"
version := "1.01"
scalaVersion := "2.11.8"
organization := "io.policarp"
homepage := Some(url("https://github.com/kdrakon/scala-credstash"))
scmInfo := Some(
ScmInfo(
url("https://github.com/kdrakon/scala-credstash"),
"scm:[email protected]:kdrakon/scala-credstash.git"
)
)
libraryDependencies ++= Seq(
"com.amazonaws" % "aws-java-sdk-dynamodb" % "1.11.26",
"com.amazonaws" % "aws-java-sdk-kms" % "1.11.26"
)
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.0" % "test",
"org.mockito" % "mockito-core" % "1.10.19" % "test"
)
SbtScalariform.scalariformSettings
ScalariformKeys.preferences := ScalariformKeys.preferences.value
.setPreference(AlignParameters, true)
pomIncludeRepository := { _ => false }
publishMavenStyle := true
licenses := Seq("Apache License 2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.txt"))
developers := List(
Developer(
id = "kdrakon",
name = "Sean Policarpio",
email = "",
url = url("http://policarp.io")
)
)
useGpg := 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")
}