Lukas Rytz e46843bfd9 Add setting to allow demoting the SIP-51 build failure
Add a `allowUnsafeScalaLibUpgrade` setting (default is `false`) to
demote the SIP-51 build failure to a warning.

If the scalaVersion is 2.13.12 but some dependency pulls in
scala-library 2.13.13, the compiler will stay at 2.13.12, but
the dependency classpath will contain scala-library 2.13.13.

This usually works, the compiler can run fine with a newer
scala-library on its dependency classpath.
Macro expansion may fail, if the macro uses some library
class / method that doesn't exist in the old version.
The macro itself is loaded from the dependency classpath
into the class loader running the compiler, where the older
Scala library is on the runtime classpath.
Using the Scala REPL in sbt may also fail in a similar fashion.
2025-01-20 10:00:13 +01:00
2024-12-22 21:26:54 -05:00
2024-11-07 18:46:04 -08:00
2024-12-22 01:32:16 -05:00
2023-06-20 16:39:07 +02:00
2024-12-22 02:21:38 -05:00
2023-06-25 08:57:41 +09:00
2023-06-24 20:05:52 +09:00
2024-12-26 15:05:00 -08:00
2023-06-24 20:05:52 +09:00
2023-07-23 01:01:23 -04:00
2024-12-26 14:56:18 -08:00
2019-09-04 01:24:08 -04:00
2023-06-25 08:04:17 +09:00
2023-06-25 08:57:41 +09:00
2024-10-18 02:26:58 -04:00
2024-10-16 10:57:22 -07:00
2021-11-19 20:41:39 -05:00
2023-11-27 23:27:35 -05:00
2019-06-11 09:30:14 +02:00
2020-11-19 12:42:26 -08:00
2021-11-16 16:32:31 +09:00
2024-12-22 21:26:54 -05:00
2024-10-19 21:51:06 -07:00
2023-06-20 16:39:07 +02:00
2023-06-20 16:39:07 +02:00
2018-07-08 22:18:57 +09:00
2022-07-04 11:11:49 -04:00
2017-09-16 15:52:58 -04:00
2024-12-22 21:26:54 -05:00
2020-11-14 14:23:48 -05: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/librarymanagement hosts sbt.librarymanagement module that wraps Ivy.
  • 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%