Skip to content

Commit 34a5b3e

Browse files
committed
Switch to Maven Central publishing
1 parent 45b9c1a commit 34a5b3e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

project/Commons.scala

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ import sbtide.Keys.*
1515
import sbtunidoc.BaseUnidocPlugin.autoImport.{unidoc, unidocProjectFilter}
1616
import sbtunidoc.ScalaUnidocPlugin
1717
import sbtunidoc.ScalaUnidocPlugin.autoImport.ScalaUnidoc
18-
import xerial.sbt.Sonatype.autoImport.sonatypeProfileName
18+
import xerial.sbt.Sonatype
19+
import xerial.sbt.Sonatype.autoImport.{sonatypeCredentialHost, sonatypeProfileName}
1920

2021
object Commons extends ProjectGroup("commons") {
2122
// We need to generate slightly different structure for IntelliJ in order to better support ScalaJS cross projects.
@@ -56,11 +57,10 @@ object Commons extends ProjectGroup("commons") {
5657
organizationName := "AVSystem",
5758
description := "AVSystem commons library for Scala",
5859
startYear := Some(2015),
59-
licenses := Vector(
60-
"The MIT License" -> url("https://opensource.org/licenses/MIT"),
61-
),
60+
licenses := Vector(License.MIT),
61+
sonatypeCredentialHost := Sonatype.sonatypeCentralHost,
6262
scmInfo := Some(ScmInfo(
63-
browseUrl = url("https://github.com/AVSystem/scala-commons.git"),
63+
browseUrl = url("https://github.com/AVSystem/scala-commons"),
6464
connection = "scm:git:[email protected]:AVSystem/scala-commons.git",
6565
devConnection = Some("scm:git:[email protected]:AVSystem/scala-commons.git"),
6666
)),

0 commit comments

Comments
 (0)