Skip to content

Commit

Permalink
Fix scripted tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xerial committed Sep 5, 2019
1 parent 99ba6c5 commit a8c3fcc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
15 changes: 1 addition & 14 deletions src/sbt-test/sbt-sonatype/example/build.sbt
Original file line number Diff line number Diff line change
@@ -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
)
2 changes: 0 additions & 2 deletions src/sbt-test/sbt-sonatype/operations/build.sbt
Original file line number Diff line number Diff line change
@@ -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")
Expand Down

0 comments on commit a8c3fcc

Please sign in to comment.