Roberto Tyley 20eb474043 Resolvers: clarify deprecation pointer to sonatypeCentralSnapshots
The current deprecation messages for `sonatypeRepo()` & `sonatypeOssRepos()` (added with https://github.com/sbt/librarymanagement/pull/517) say:

> use the following instead: resolvers += Resolver.sonatypeCentral**Snapshots**

...but following this advice can expose projects to using **snapshot** artifacts when they did not previously! This is unfortunate, as snapshots artifacts are inherently more risky, due to being mutable.

For example, invocations of `sonatypeOssRepos()` like [this](https://github.com/guardian/frontend/blob/76234e013f550ac600fbf0bb924c19a1a6165295/project/plugins.sbt#L10):

```scala
resolvers ++= Resolver.sonatypeOssRepos("releases")
```

...should _not_ be replaced by `sonatypeCentralSnapshots()`, as, AFAIK, only non-snapshot releases would be in `sonatypeOssRepos("releases")`
2025-08-03 23:08:12 -04:00
2025-06-28 18:36:55 -04:00
2024-11-07 22:07:07 -08:00
2025-06-21 08:54:51 +09:00
2025-06-30 02:44:36 -04:00
2023-06-20 16:39:07 +02:00
2025-08-03 16:03:00 -04:00
2025-08-03 19:50:33 -04:00
2025-08-03 19:50:33 -04:00
2025-02-04 01:11:28 -05:00
2025-08-03 23:00:08 -04:00
2025-08-03 19:50:33 -04:00
2025-08-03 19:50:33 -04:00
2025-02-22 08:48:29 +09:00
2024-10-11 14:30:55 +02:00
2025-07-30 09:55:46 +09:00
2019-09-04 01:24:08 -04:00
2025-02-22 08:48:29 +09:00
2025-05-11 05:23:41 -04:00
2025-08-02 18:12:20 -04:00
2025-06-21 08:54:51 +09:00
2025-08-03 16:03:00 -04:00
2025-05-11 05:23:41 -04:00
2025-02-04 01:11:28 -05:00
2021-11-19 20:41:39 -05:00
2024-03-19 17:06:09 +01:00
2023-11-25 01:06:30 -05:00
2019-06-11 09:30:14 +02:00
2020-11-19 12:42:26 -08:00
2023-01-02 22:06:46 -05:00
2025-02-04 01:11:28 -05:00
2023-06-20 16:39:07 +02:00
2023-06-20 16:39:07 +02:00
2025-02-04 01:11:28 -05:00
2017-09-16 15:52:58 -04:00
2021-04-19 23:43:15 -04:00
2017-10-03 01:45:06 -04:00
2023-06-20 16:39:07 +02:00

CI Latest version Discord

sbt

sbt is a build tool for Scala, Java, and more.

For general documentation, see https://www.scala-sbt.org/.

sbt 1.x

This is the 1.x series of sbt. The source code of sbt is split across several GitHub repositories, including this one.

  • sbt/io hosts sbt.io module.
  • sbt/zinc hosts Zinc, an incremental compiler for Scala.
  • sbt/sbt, this repository hosts modules that implements the build tool.
  • Setup: Describes getting started with the latest binary release.
  • FAQ: Explains how to get help and more.
  • sbt/sbt-zero-seven: hosts sbt 0.7.7 and earlier versions

Issues and Pull Requests

Please read CONTRIBUTING carefully before opening a GitHub Issue.

The short version: try searching or asking on StackOverflow.

license

See LICENSE.

S
Description
sbt, the interactive build tool
Readme
97 MiB
Languages
Scala 94.5%
Java 3.1%
Shell 1.1%
Batchfile 0.9%
Roff 0.2%
Other 0.1%