aboutsummaryrefslogtreecommitdiff
path: root/publish.sbt
diff options
context:
space:
mode:
Diffstat (limited to 'publish.sbt')
-rw-r--r--publish.sbt14
1 files changed, 11 insertions, 3 deletions
diff --git a/publish.sbt b/publish.sbt
index 04e6ba1..12101e0 100644
--- a/publish.sbt
+++ b/publish.sbt
@@ -3,19 +3,19 @@ licenses in ThisBuild := Seq(
("Apache 2.0", url("https://www.apache.org/licenses/LICENSE-2.0")))
homepage in ThisBuild := Some(url("https://github.com/jodersky/yamlesque"))
publishMavenStyle in ThisBuild := true
-publishTo := Some(
+publishTo in ThisBuild := Some(
if (isSnapshot.value)
Opts.resolver.sonatypeSnapshots
else
Opts.resolver.sonatypeStaging
)
-scmInfo := Some(
+scmInfo in ThisBuild := Some(
ScmInfo(
url("https://github.com/jodersky/yamlesque"),
"scm:git@github.com:jodersky/yamlesque.git"
)
)
-developers := List(
+developers in ThisBuild := List(
Developer(
id = "jodersky",
name = "Jakob Odersky",
@@ -23,3 +23,11 @@ developers := List(
url = url("https://crashbox.io")
)
)
+
+// settings for root project
+publishArtifact := false
+publish := {}
+publishLocal := {}
+// make sbt-pgp happy
+publishTo := Some(Resolver.file("Unused transient repository", target.value / "unusedrepo"))
+skip in publish := true