diff --git a/build.sbt b/build.sbt index 016b840..7a69902 100644 --- a/build.sbt +++ b/build.sbt @@ -11,8 +11,7 @@ val commonSettings = Publish.ossPublishSettings ++ Seq( case "2.10" => "0.13.17" case "2.12" => "1.10.2" } - }, - sbtPluginPublishLegacyMavenStyle := false // required by sonatype central + } ) lazy val root = project diff --git a/project/build.sbt b/project/build.sbt index d76c706..047899e 100644 --- a/project/build.sbt +++ b/project/build.sbt @@ -1,4 +1,4 @@ -val sbtCiReleaseVersion = "1.9.3" +val sbtCiReleaseVersion = "1.11.1" val sbtScalafmtVersion = "2.5.4" lazy val root = project diff --git a/publish/src/main/scala/com/softwaremill/Publish.scala b/publish/src/main/scala/com/softwaremill/Publish.scala index 8b1de20..c8f4c35 100644 --- a/publish/src/main/scala/com/softwaremill/Publish.scala +++ b/publish/src/main/scala/com/softwaremill/Publish.scala @@ -3,13 +3,10 @@ package com.softwaremill import sbt.Keys._ import sbt._ import sbtdynver.DynVerPlugin.autoImport.dynverTagPrefix -import xerial.sbt.Sonatype.autoImport.{sonatypeProfileName, sonatypeCredentialHost} -import xerial.sbt.Sonatype.sonatypeCentralHost import java.net.URI trait Publish { lazy val ossPublishSettings = Seq( - sonatypeProfileName := "com.softwaremill", organizationHomepage := Some(url("https://softwaremill.com")), homepage := Some(url("http://softwaremill.com/open-source")), licenses := Seq( @@ -24,8 +21,7 @@ trait Publish { ) ), updateDocs := UpdateVersionInDocs(sLog.value, organization.value, version.value), - commands += releaseCommand, - sonatypeCredentialHost := sonatypeCentralHost + commands += releaseCommand ) lazy val noPublishSettings =