-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
executable file
·57 lines (44 loc) · 1.35 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
import sbtrelease.ReleasePlugin._
import sbtrelease.ReleasePlugin.ReleaseKeys._
import sbtrelease.ReleaseStateTransformations._
name := """sbt-keychain"""
sbtPlugin := true
organization := "coop.plausible"
scalaVersion := "2.10.4"
homepage := Some(url("https://opensource.plausible.coop/src/projects/SBT/repos/sbt-keychain"))
licenses := Seq("The MIT License (MIT)" -> url("http://opensource.org/licenses/mit-license.php"))
libraryDependencies ++= Seq(
"org.specs2" %% "specs2" % "2.3.8" % "test"
)
scalacOptions ++= Seq(
"-unchecked",
"-deprecation",
"-feature",
"-Xlint",
"-Ywarn-dead-code",
"-Xfatal-warnings",
"-language:_",
"-target:jvm-1.7",
"-encoding", "UTF-8"
)
autoAPIMappings := true
publishTo := {
val nexus = "https://opensource.plausible.coop/nexus/"
if (version.value.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "content/repositories/releases")
}
publishMavenStyle := true
pomIncludeRepository := { _ => false }
pomExtra :=
<scm>
<url>https://opensource.plausible.coop/stash/scm/sbt/sbt-keychain.git</url>
</scm>
<developers>
<developer>
<id>landonf</id>
<name>Landon Fuller</name>
<url>https://www.plausible.coop/about</url>
</developer>
</developers>