Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch publishing to s01.oss.sonatype.org #135

Merged
merged 1 commit into from
Feb 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change.

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