sbt, the interactive build tool
Go to file
SlowBrainDude b1b5caa1ca Fix stale BSP diagnostics
The BSP server didn't reset old diagnostic messages sent to BSP clients under
certain circumstances. This commit mitigates this edge case and ensures that
diagnostics for files that previously had compilation problems are properly
reset when fresh diagnostics messages are sent.

The culprit was a mismatch of map keys: Files with problems were sometimes recorded
under an absolute path, but later attempted to be retrieved by virtual path.
2024-10-21 12:18:41 -07:00
.github Bump CI to JDK 21 2024-10-19 21:08:20 -07:00
buildfile/src Fix Eval on Windows 2024-10-11 14:32:32 +02:00
client Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
core-macros/src fix type error if too many `.value` 2024-10-17 10:35:16 +09:00
dependency-tree/src/main/scala/sbt/plugins Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
internal Bump CI to JDK 21 2024-10-19 21:08:20 -07:00
launch Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
launcher-package remove deprecated `[this]` qualifier 2024-10-03 21:16:48 +09:00
licenses move remaining pieces of sbt subproject to sbt_pending and fix notices 2010-09-21 21:55:50 -04:00
lm-core Merge remote-tracking branch 'lm/wip/sbt-2.x' into 2.x-merge-librarymanagement 2024-10-11 16:22:55 +02:00
lm-coursier Add NOTICE and headerLicense 2024-10-11 14:32:32 +02:00
lm-ivy/src Re-generate contraband after update 2024-10-11 16:30:51 +02:00
main Fix stale BSP diagnostics 2024-10-21 12:18:41 -07:00
main-actions/src remove deprecated `[this]` qualifier 2024-10-03 21:16:48 +09:00
main-command/src add `codecPackage` annotation to `state.contra` 2024-10-19 07:31:07 +09:00
main-settings/src fix: Resurrect or for tasks 2024-10-10 02:39:52 -04:00
notes Merge branch '1.10.x' into wip/merge-1.10.x 2024-05-07 04:39:25 -04:00
project Bump jline3 to 3.27.0 2024-10-11 13:44:33 -07:00
protocol/src/main Update contraband sources 2024-10-18 20:34:44 +09:00
run Update contraband sources 2024-10-18 20:34:44 +09:00
sbt-app/src Bump CI to JDK 21 2024-10-19 21:08:20 -07:00
sbt-remote-cache/src/main/scala/sbt [2.x] Fix scripted cache tests 2024-09-18 10:28:11 +02:00
scripted-sbt remove deprecated `[this]` qualifier 2024-10-03 21:16:48 +09:00
scripts Fix lm-coursier scripted 2024-10-11 14:30:55 +02:00
server-test/src Fix stale BSP diagnostics 2024-10-21 12:18:41 -07:00
src/main/conscript Move sources from sbt-projectmatrix 2024-09-17 17:00:04 +02:00
tasks remove deprecated `[this]` qualifier 2024-10-03 21:16:48 +09:00
tasks-standard remove deprecated `[this]` qualifier 2024-10-03 21:16:48 +09:00
testing Update contraband sources 2024-10-18 20:34:44 +09:00
util-cache Update contraband sources 2024-10-18 20:34:44 +09:00
util-collection remove deprecated `[this]` qualifier 2024-10-03 21:16:48 +09:00
util-tracking remove deprecated `[this]` qualifier 2024-10-03 21:16:48 +09:00
zinc-lm-integration/src Bump CI to JDK 21 2024-10-19 21:08:20 -07:00
.git-blame-ignore-revs Add .git-blame-ignore-revs 2024-10-09 13:38:02 +02:00
.gitattributes Fix line endings in msi 2021-11-19 20:41:39 -05:00
.gitignore Fix server completion tests 2024-03-19 17:06:09 +01:00
.gitmodules Move metadata to lm-coursier/metadata 2024-10-09 09:44:42 +02:00
.java-version Configure JVM 1.8 in .java-version 2016-10-07 08:48:23 -05:00
.jvmopts Add .jvmopts 2023-11-25 01:06:30 -05:00
.mailmap Add mailmap 2019-06-11 09:30:14 +02:00
.sbtopts Restore .sbtopts file 2020-11-19 12:42:26 -08:00
.scala-steward.conf Pin slf4j-api 2023-01-02 22:06:46 -05:00
.scalafmt.conf Update .scalafmt.conf. re-format 2024-09-07 16:37:49 +09:00
CONTRIBUTING.md Minor updates on development guide 2023-10-21 21:00:31 -04:00
DEVELOPING.md SBT -> sbt 2024-10-19 21:52:20 -07:00
LICENSE Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
NOTICE Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
PROFILING.md fix typo 2018-07-08 22:18:57 +09:00
README.md Merge remote-tracking branch 'lm/wip/sbt-2.x' into 2.x-lm-coursier 2024-10-09 08:50:03 +02:00
SUPPORT.md Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00
build.sbt Bump CI to JDK 21 2024-10-19 21:08:20 -07:00
reset.sh 1.0.3-SNAPSHOT 2017-09-16 15:52:58 -04:00
sbt Merge branch '1.10.x' into wip/merge-1.10.x 2024-08-18 12:37:24 -04:00
sbt-allsources.sh Merge remote-tracking branch 'lm/wip/sbt-2.x' into 2.x-lm-coursier 2024-10-09 08:50:03 +02:00
sbt.sh Implement sbt-launch.jar download 2021-04-19 23:43:15 -04:00
server.md setting query is "sbt/setting" 2017-10-03 01:45:06 -04:00

README.md

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.