Download Latest Version 1.11.4 source code.tar.gz (5.0 MB)
Email in envelope

Get an email when there's a new version of sbt

Home / v1.11.0
Name Modified Size InfoDownloads / Week
Parent folder
sbt-1.11.0.zip.asc 2025-05-24 833 Bytes
sbt-1.11.0.zip.sha256 2025-05-24 81 Bytes
sbt-1.11.0.tgz.asc 2025-05-24 833 Bytes
sbt-1.11.0.tgz.sha256 2025-05-24 81 Bytes
sbt-1.11.0.zip 2025-05-24 58.1 MB
sbt-1.11.0.msi.asc 2025-05-24 833 Bytes
sbt-1.11.0.msi.sha256 2025-05-24 81 Bytes
sbt-1.11.0.tgz 2025-05-24 58.2 MB
sbt-1.11.0.msi 2025-05-24 15.0 MB
1.11.0 source code.tar.gz 2025-05-24 5.0 MB
1.11.0 source code.zip 2025-05-24 6.7 MB
README.md 2025-05-24 2.1 kB
Totals: 12 Items   143.0 MB 0

Central Repository publishing

The Central Repository (aka Maven Central) has long been the pillar of the JVM ecosystem including Scala. The mechanism to publish libraries to the Central has been hosted by Sonatype as OSS Repository Hosting (OSSRH) via HTTP PUT, but in March it was announced that the endpoint will be sunset in June 2025 in favor of the Central Portal at https://central.sonatype.com/.

sbt 1.11.0 implements a built-in support to publish to Central Repository via the Central Portal. To publish to the Central Portal, first set ThisBuild / publishTo setting to the localStaging repository:

:::scala
ThisBuild / publishTo := {
  val centralSnapshots = "https://central.sonatype.com/repository/maven-snapshots/"
  if (isSnapshot.value) Some("central-snapshots" at centralSnapshots)
  else localStaging.value
}

Add credentials to the host central.sonatype.com using the generated user token user name and password. When you're ready to publish, call publishSigned task (available via sbt-pgp). At this point, the JARs and POM files will be staged to your local target/sona-staging directory.

Next, call sonaUpload to upload to the Central Portal and manually release the bundle, or call sonaRelease to upload and automatically release to the Central Repository.

This was contributed by @eed3si9n in #8126. The feature was inspired by sbt-sonatype workflow pioneered by Taro Saito, and sonatype-central-client spearheaded by David Doyle at Lumidion.

Other updates

Full Changelog: https://github.com/sbt/sbt/compare/v1.10.11...v1.11.0

Source: README.md, updated 2025-05-24