From a8c3fccf065f0dbf4024d3e1b972eb6da6985ab3 Mon Sep 17 00:00:00 2001 From: "Taro L. Saito" Date: Wed, 4 Sep 2019 18:20:25 -0700 Subject: [PATCH] Fix scripted tests --- src/sbt-test/sbt-sonatype/example/build.sbt | 15 +-------------- src/sbt-test/sbt-sonatype/operations/build.sbt | 2 -- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/sbt-test/sbt-sonatype/example/build.sbt b/src/sbt-test/sbt-sonatype/example/build.sbt index a526576c..e93a8cb6 100644 --- a/src/sbt-test/sbt-sonatype/example/build.sbt +++ b/src/sbt-test/sbt-sonatype/example/build.sbt @@ -1,29 +1,16 @@ organization := "org.xerial.example" - -enablePlugins(Sonatype) - sonatypeProfileName := "org.xerial" - publishMavenStyle := true - licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")) - homepage := Some(url("https://github.com/xerial/sbt-sonatype")) - scmInfo := Some( ScmInfo( url("https://github.com/xerial/sbt-sonatype"), "scm:git@github.com:xerial/sbt-sonatype.git" ) ) - developers := List( Developer(id = "leo", name = "Taro L. Saito", email = "leo@xerial.org", url = url("http://xerial.org/leo")) ) +publishTo := sonatypePublishTo.value -publishTo := Some( - if (isSnapshot.value) - Opts.resolver.sonatypeSnapshots - else - Opts.resolver.sonatypeStaging -) diff --git a/src/sbt-test/sbt-sonatype/operations/build.sbt b/src/sbt-test/sbt-sonatype/operations/build.sbt index 11b61972..11f2f9f5 100644 --- a/src/sbt-test/sbt-sonatype/operations/build.sbt +++ b/src/sbt-test/sbt-sonatype/operations/build.sbt @@ -1,5 +1,3 @@ -enablePlugins(Sonatype) - organization := System.getProperty("organization", "org.xerial.operations") sonatypeProfileName := System.getProperty("profile.name", "org.xerial") version := System.getProperty("version", "0.1")