sbt, the interactive build tool
Go to file
Ethan Atkins c24e7da844 Rethrow InterruptedException instead of ClosedException
There are cases where sbt will incorrectly shutdown if the jline reader
is interrupted while filling the input buffer. To fix this we can throw
an InterruptedException instead of a ClosedException.

The repro for this was start `sbt`, input `~compile` and while sbt was
starting up, open a source file with vim using the metals bsp
integration. sbt server would end up shutting down everytime after a
single compilation iteration.
2020-11-25 14:31:29 -08:00
.github Bump max heap size in ci 2020-11-20 08:37:02 -08:00
client Change remaining sbtc to sbtn 2020-08-15 09:35:59 -07:00
core-macros/src/main/scala/sbt/internal/util/appmacro Work around "a pure expression does nothing" warning, take 2 2020-11-22 17:04:19 -05:00
dependency-tree/src/main/scala/sbt/plugins Split to MiniDependencyTreePlugin 2020-09-22 21:21:01 -04:00
internal Rethrow InterruptedException instead of ClosedException 2020-11-25 14:31:29 -08:00
launch Adds sbt.boot.lock sysprop to opt-out 2018-02-08 13:02:39 +00:00
licenses move remaining pieces of sbt subproject to sbt_pending and fix notices 2010-09-21 21:55:50 -04:00
main Merge pull request #5515 from jtjeferreira/better_file_input 2020-11-25 11:11:04 -05:00
main-actions/src Manage ansi codes and color codes separately 2020-10-21 08:01:12 -07:00
main-command/src Update ipcsocket 2020-11-25 07:34:11 -08:00
main-settings/src Manage ansi codes and color codes separately 2020-10-21 08:01:12 -07:00
notes Merge pull request #5041 from jsoref/https 2020-06-14 17:34:58 -04:00
project Update ipcsocket 2020-11-25 07:34:11 -08:00
protocol/src/main Fix switching between raw and canonical input 2020-09-21 13:42:03 -07:00
run Add loop to SelectMainClass 2020-07-10 13:37:54 -07:00
sbt Prepend scala instance jars to sbt classpath 2020-11-20 13:11:24 -08:00
scripted-plugin/src/main/scala/sbt -Xfatal-warnings in most subprojects 2018-09-18 11:47:55 -04:00
scripted-sbt-old/src/main/scala/sbt/test Move scripted-sbt-old ScriptedTests file 2020-11-03 09:02:18 -08:00
scripted-sbt-redux Sort scripted tests 2020-11-19 10:57:42 -08:00
server-test/src Fix console when supershell is disabled 2020-11-04 18:47:01 -08:00
src/main/conscript sbt 1.3.0 2019-09-04 01:24:08 -04:00
tasks Don't throw on closed completion service 2020-09-28 07:03:27 -07:00
tasks-standard introduce a new new Input/Output: FileInput/FileOutput 2020-11-25 14:04:56 +00:00
testing Manage ansi codes and color codes separately 2020-10-21 08:01:12 -07:00
util-cache introduce a new new Input/Output: FileInput/FileOutput 2020-11-25 14:04:56 +00:00
util-tracking update scaladoc to reflect argument type of the overload 2020-04-24 16:54:48 +02:00
vscode-sbt-scala https://www.apple.com 2019-09-05 14:11:07 -04:00
zinc-lm-integration/src integrate with VirtualFile changes 2020-04-24 17:44:14 -04:00
.appveyor.yml Restore .sbtopts file 2020-11-19 12:42:26 -08:00
.gitattributes Contraband 0.4.6 2020-04-24 17:44:15 -04:00
.gitignore Update .gitignore for metals support 2020-05-16 09:52:20 +02:00
.java-version Configure JVM 1.8 in .java-version 2016-10-07 08:48:23 -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
.scalafmt.conf Set `lineEndings = preserve` in .scalafmt.conf 2020-06-29 08:15:24 -07:00
CONTRIBUTING.md https://www.scala-sbt.org 2019-09-05 14:11:13 -04:00
DEVELOPING.md Update nightly build instruction 2020-11-21 15:17:02 -05:00
LICENSE Apache License 2.0 2018-09-14 03:38:58 -04:00
NOTICE Apache License 2.0 2018-09-14 03:38:58 -04:00
PROFILING.md fix typo 2018-07-08 22:18:57 +09:00
README.md Update travis-ci badge. s/.org/.com/ 2020-10-29 23:54:09 +09:00
SUPPORT.md Split support into SUPPORT.md 2018-04-25 14:55:09 +01:00
build.sbt Prepend scala instance jars to sbt classpath 2020-11-20 13:11:24 -08:00
reset.sh 1.0.3-SNAPSHOT 2017-09-16 15:52:58 -04:00
sbt-allsources.sh Build from fresh modules 2020-11-14 14:23:48 -05:00
server.md setting query is "sbt/setting" 2017-10-03 01:45:06 -04:00

README.md

Build Status Latest version Gitter Chat

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.