diff options
author | Jakob Odersky <jakob@odersky.com> | 2018-04-09 13:52:06 -0700 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2018-04-09 15:47:28 -0700 |
commit | 70141fc60ec3341057627e9a8f5b83a22c74f0ea (patch) | |
tree | c0bfd931e8bbc31132266c077df99b044f23f05e | |
parent | d1d4d5f34059b368b27a745ef8548496bdd69889 (diff) | |
download | yamlesque-70141fc60ec3341057627e9a8f5b83a22c74f0ea.tar.gz yamlesque-70141fc60ec3341057627e9a8f5b83a22c74f0ea.tar.bz2 yamlesque-70141fc60ec3341057627e9a8f5b83a22c74f0ea.zip |
-rw-r--r-- | build.sbt | 4 | ||||
-rw-r--r-- | project/plugins.sbt | 3 | ||||
-rw-r--r-- | publish.sbt | 14 |
3 files changed, 14 insertions, 7 deletions
@@ -48,7 +48,3 @@ lazy val root = (project in file(".")) yamlesqueNative, `yamlesque-spray-jsonJVM` ) - .settings( - publish := {}, - publishLocal := {} - ) diff --git a/project/plugins.sbt b/project/plugins.sbt index 7768bd5..9030e19 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -4,3 +4,6 @@ addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.22") addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.3.7") addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "1.4.0") + +addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.3") +addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.1") 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 |