Skip to content

Commit

Permalink
Merge pull request #135 from http4s/topic/s01
Browse files Browse the repository at this point in the history
Switch publishing to `s01.oss.sonatype.org`
  • Loading branch information
rossabaker authored Feb 8, 2022
2 parents d0acca9 + fb1037e commit fccb2c9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lazy val core = project

lazy val docs = project.in(file("site")).enablePlugins(Http4sOrgSitePlugin)

ThisBuild / tlBaseVersion := "0.11"
ThisBuild / tlBaseVersion := "0.12"
ThisBuild / crossScalaVersions := Seq("2.12.15")
ThisBuild / developers := List(
Developer(
Expand Down
9 changes: 7 additions & 2 deletions core/src/main/scala/org/http4s/sbt/Http4sOrgPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import sbt.Keys._

import explicitdeps.ExplicitDepsPlugin
import org.typelevel.sbt.gha._, GenerativeKeys._
import org.typelevel.sbt._
import org.typelevel.sbt._, TypelevelSonatypePlugin.autoImport._

object Http4sOrgPlugin extends AutoPlugin {
object autoImport
Expand All @@ -30,7 +30,12 @@ object Http4sOrgPlugin extends AutoPlugin {

override def requires = TypelevelPlugin && ExplicitDepsPlugin

override def buildSettings = organizationSettings ++ githubActionsSettings
override def buildSettings = publishSettings ++ organizationSettings ++ githubActionsSettings

lazy val publishSettings: Seq[Setting[_]] =
Seq(
tlSonatypeUseLegacyHost := false
)

lazy val organizationSettings: Seq[Setting[_]] =
Seq(
Expand Down

0 comments on commit fccb2c9

Please sign in to comment.