Skip to content
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
3 changes: 1 addition & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion project/build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
val sbtCiReleaseVersion = "1.9.3"
val sbtCiReleaseVersion = "1.11.1"
val sbtScalafmtVersion = "2.5.4"

lazy val root = project
Expand Down
6 changes: 1 addition & 5 deletions publish/src/main/scala/com/softwaremill/Publish.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -24,8 +21,7 @@ trait Publish {
)
),
updateDocs := UpdateVersionInDocs(sLog.value, organization.value, version.value),
commands += releaseCommand,
sonatypeCredentialHost := sonatypeCentralHost
commands += releaseCommand
)

lazy val noPublishSettings =
Expand Down