@@ -21,7 +21,7 @@ ThisBuild / semanticdbEnabled := true
2121ThisBuild / semanticdbVersion := scalafixSemanticdb.revision
2222
2323ThisBuild / licenses := List (
24- " MPL 2.0" -> new URL (" https://www.mozilla.org/en-US/MPL/2.0/" )
24+ " MPL 2.0" -> url (" https://www.mozilla.org/en-US/MPL/2.0/" )
2525)
2626
2727ThisBuild / scmInfo := Some (
@@ -34,15 +34,14 @@ ThisBuild / scmInfo := Some(
3434ThisBuild / homepage := Some (url(" https://github.com/unit-finance/zio-raft" ))
3535
3636ThisBuild / publishTo := {
37- val nexus = " https://s01.oss.sonatype.org/"
3837 if (isSnapshot.value)
39- Some (" snapshots" at nexus + " content/repositories/ snapshots" )
40- else Some (" releases" at nexus + " service/local/staging/deploy/maven2" )
38+ Some (" snapshots" at " https://central.sonatype.com/repository/maven- snapshots/ " )
39+ else Some (" releases" at " https://ossrh-staging-api.central.sonatype.com/ service/local/staging/deploy/maven2" )
4140}
4241
4342ThisBuild / credentials += Credentials (
44- " Sonatype Nexus Repository Manager " ,
45- " s01.oss .sonatype.org " ,
43+ " OSSRH Staging API Service " ,
44+ " ossrh-staging-api.central .sonatype.com " ,
4645 sys.env.getOrElse(" SONATYPE_USERNAME" , " " ),
4746 sys.env.getOrElse(" SONATYPE_PASSWORD" , " " )
4847)
@@ -59,7 +58,7 @@ ThisBuild / developers := List(
5958scalaVersion := mainScalaVersion
6059
6160resolvers +=
62- " Sonatype OSS Snapshots" at " https://oss .sonatype.org/content/repositories/ snapshots"
61+ " Sonatype OSS Snapshots" at " https://central .sonatype.com/repository/maven- snapshots/ "
6362
6463lazy val root = project
6564 .in(file(" ." ))
0 commit comments