forked from gitter-badger/sbt-aws-lambda
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpublish.sbt
37 lines (31 loc) · 941 Bytes
/
publish.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
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 }
sonatypeProfileName := "com.rea-group"
pomExtra := {
<url>https://github.com/realestate-com-au</url>
<scm>
<url>[email protected]:realestate-com-au/simple-sbt-aws-lambda</url>
<connection>scm:git:[email protected]:realestate-com-au/simple-sbt-aws-lambda.git</connection>
</scm>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<id>benhutchison</id>
<name>Ben Hutchison</name>
<url>https://github.com/benhutchison</url>
</developer>
</developers>
}