-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
61 lines (44 loc) · 1.56 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
name := "gfc-aws-cloudwatch"
organization := "com.gilt"
scalaVersion := "2.11.11"
crossScalaVersions := Seq(scalaVersion.value, "2.12.3")
val awsLibVersion = "1.11.78"
scalacOptions += "-target:jvm-1.7"
javacOptions ++= Seq("-source", "1.7", "-target", "1.7")
libraryDependencies ++= Seq(
"com.gilt" %% "gfc-logging" % "0.0.8"
, "com.gilt" %% "gfc-concurrent" % "0.3.5"
, "com.amazonaws" % "aws-java-sdk-cloudwatch" % awsLibVersion
, "com.amazonaws" % "aws-java-sdk-logs" % awsLibVersion
, "org.specs2" %% "specs2-scalacheck" % "3.8.6" % 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 }
licenses := Seq("Apache-style" -> url("https://raw.githubusercontent.com/gilt/gfc-aws-cloudwatch/master/LICENSE"))
homepage := Some(url("https://github.com/gilt/gfc-aws-cloudwatch"))
pomExtra := <scm>
<url>https://github.com/gilt/gfc-aws-cloudwatch.git</url>
<connection>scm:git:[email protected]:gilt/gfc-aws-cloudwatch.git</connection>
</scm>
<developers>
<developer>
<id>gheine</id>
<name>Gregor Heine</name>
<url>https://github.com/gheine</url>
</developer>
<developer>
<id>andreyk0</id>
<name>Andrey Kartashov</name>
<url>https://github.com/andreyk0</url>
</developer>
</developers>