mirror of
https://github.com/sbt/sbt.git
synced 2026-09-04 00:41:32 +02:00
0413727796adebdb25d9fdf70ea038723f354ee6
Fixes https://github.com/sbt/sbt/issues/6558 Problem ------- sbt uses SecurityManager feature of JDK to trap `sys.exit` call during `run`-like tasks, since we emulate `run` and `console` as function calls. JDK 17 deprecated SecurityManager and it's printing warnings. Solution -------- About 10 years go, `exit` was a convenient way of quitting both Scala REPL and sbt shell. Scala 2.11 broke this by removing the `Predef.exit`. We still need to worry about `run` potentially calling `sys.exit` but that can be handled using fork feature. In the long-run, it probably is better to be JDK 17 compatible.
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.iomodule. - sbt/librarymanagement hosts
sbt.librarymanagementmodule that wraps Ivy. - sbt/zinc hosts Zinc, an incremental compiler for Scala.
- sbt/sbt, this repository hosts modules that implements the build tool.
Other links
- 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.
Languages
Scala
94.5%
Java
3.1%
Shell
1.1%
Batchfile
0.9%
Roff
0.2%
Other
0.1%