Skip to content

Commit ce5af81

Browse files
xerialclaude
andcommitted
Update to sbt 1.11.3 and fix publishTo configuration
- Update sbt version to 1.11.3 for built-in localStaging support - Fix publishTo setting to use correct Sonatype Central URLs - Use localStaging.value for releases and central-snapshots for snapshots 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 7577b1d commit ce5af81

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

build.sbt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ ThisBuild / developers := List(
2929
Developer(id = "xerial", name = "Taro L. Saito", email = "[email protected]", url = url("https://github.com/xerial"))
3030
)
3131

32+
3233
val buildSettings = Seq[Setting[_]](
3334
organization := "org.msgpack",
3435
organizationName := "MessagePack",
@@ -56,11 +57,9 @@ val buildSettings = Seq[Setting[_]](
5657
},
5758
// Add sonatype repository settings
5859
publishTo := {
59-
if (isSnapshot.value) {
60-
Some("snapshots" at "https://s01.oss.sonatype.org/content/repositories/snapshots")
61-
} else {
62-
Some("releases" at "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2")
63-
}
60+
val centralSnapshots = "https://central.sonatype.com/repository/maven-snapshots/"
61+
if (isSnapshot.value) Some("central-snapshots" at centralSnapshots)
62+
else localStaging.value
6463
},
6564
// Style check config: (sbt-jchekcstyle)
6665
jcheckStyleConfig := "facebook",

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
sbt.version=1.10.7
1+
sbt.version=1.11.3
22

0 commit comments

Comments
 (0)