Skip to content

Commit

Permalink
Fixed sonatype.sbt.
Browse files Browse the repository at this point in the history
  • Loading branch information
yangzai committed Dec 9, 2018
1 parent aefa7d0 commit 622e850
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
2 changes: 0 additions & 2 deletions build.sbt
Expand Up @@ -17,8 +17,6 @@ lazy val root = project in file(".") aggregate(core, contrib) dependsOn core set
name := "wartremover-suppressor"
)

ThisBuild / publishTo := sonatypePublishTo.value

import ReleaseTransformations._

releaseCrossBuild := true
Expand Down
22 changes: 18 additions & 4 deletions sonatype.sbt.sample
@@ -1,6 +1,20 @@
publishMavenStyle := true
ThisBuild / publishMavenStyle := true

licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
ThisBuild / licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))

import xerial.sbt.Sonatype._
sonatypeProjectHosting := ???
//import xerial.sbt.Sonatype._
//ThisBuild / sonatypeProjectHosting := ???

//Above did not work so this
ThisBuild / homepage := Some(url("https://github.com/yangzai/wartremover-suppressor"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/yangzai/wartremover-suppressor"),
"scm:git@github.com:yangzai/wartremover-suppressor.git"
)
)
ThisBuild / developers := List(
???
)

ThisBuild / publishTo := sonatypePublishTo.value

0 comments on commit 622e850

Please sign in to comment.