-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathpublish.sbt
More file actions
35 lines (27 loc) · 1.05 KB
/
publish.sbt
File metadata and controls
35 lines (27 loc) · 1.05 KB
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
ThisBuild / credentials += Credentials(Path.userHome / ".sbt" / "arktekk-credentials")
ThisBuild / pomIncludeRepository := { x =>
false
}
ThisBuild / sbtPluginPublishLegacyMavenStyle := false
ThisBuild / publishTo := {
val centralSnapshots = "https://central.sonatype.com/repository/maven-snapshots/"
if (isSnapshot.value) Some("central-snapshots" at centralSnapshots)
else localStaging.value
}
// Things we care about primarily because Maven Central demands them
ThisBuild / homepage := Some(new URL("http://github.com/arktekk/sbt-aether-deploy/"))
ThisBuild / startYear := Some(2012)
ThisBuild / licenses := Seq(("Apache 2", new URL("http://www.apache.org/licenses/LICENSE-2.0.txt")))
ThisBuild / scmInfo := Some(
ScmInfo(
new URL("http://github.com/arktekk/sbt-aether-deploy"),
"scm:git:git://github.com/arktekk/sbt-aether-deploy.git",
Some("scm:git:git@github.com:arktekk/sbt-aether-deploy.git")
)
)
ThisBuild / developers += Developer(
"hamnis",
"Erlend Hamnaberg",
"erlend@hamnaberg.net",
new URL("http://twitter.com/hamnis")
)