sbt, the interactive build tool
Go to file
E.G f4bd7689a3
[2.x] test: Migrate FileInfoSpec.scala to verify.BasicTestSuite (#8544)
* test: Migrate FileInfoSpec.scala to verify.BasicTestSuite (#8542)

Migrate FileInfoSpec.scala from ScalaTest's AnyFlatSpec to
verify.BasicTestSuite, following the pattern established by other
test files in the util-cache module.

Changes:
- Replace AnyFlatSpec class with BasicTestSuite object
- Convert 'it should ... in' syntax to 'test(...)' syntax
- Use Scala 3 syntax with colon indentation
- Change === to == for assertions (BasicTestSuite style)
- Add explicit Unit return types for consistency
- Add 'end FileInfoSpec' marker

Fixes #8542
2026-01-15 22:19:30 -05:00
.github [2.x] feat: Enable musl static linking for sbtn on JDK 17+ (#8464) 2026-01-13 23:14:45 -05:00
buildfile/src fix: Fix NoClassDefFoundError after changing val in build.sbt (#8521) 2026-01-13 18:45:16 -05:00
client [2.x] feat: Enable musl static linking for sbtn on JDK 17+ (#8464) 2026-01-13 23:14:45 -05:00
contributing-docs Fix typo in link to CONTRIBUTING.md 2026-01-11 03:57:14 -05:00
core-macros/src Add tailrec annotation 2026-01-11 16:33:45 +09:00
internal [2.x] test: Migrate util-logging specs to verify.BasicTestSuite (#8550) 2026-01-15 14:21:00 -05:00
launch
launcher-package [2.x] fix: Fix sbtopts files priority in sbt launch script (#8514) 2026-01-13 13:30:13 -05:00
licenses
lm-core [2.x] test: Migrate UpdateReportSpec to verify.BasicTestSuite (#8545) 2026-01-15 15:07:48 -05:00
lm-coursier [2.x] feat: Add csrLocalArtifactsShouldBeCached setting for caching local artifacts (#8504) 2026-01-12 19:17:55 -05:00
lm-ivy/src [2.x] test: Migrate IvyActionsOverrideSpec.scala to verify.BasicTestSuite (#8553) 2026-01-15 15:09:58 -05:00
main [2.x] test: Migrate FileStampJsonSpec.scala to verify.BasicTestSuite (#8552) 2026-01-15 15:01:57 -05:00
main-actions/src [2.x] fix: Prevent sbt test from hanging when forked process crashes (#8536) 2026-01-14 21:54:17 -05:00
main-command/src [2.x] fix: Error "Exception in thread "sbt-socket-server" java.lang.NullPointerException" on exit (#8448) 2026-01-15 11:06:51 -05:00
main-settings/src [2.x] Fix ProjectMatrix invalid project ID with CrossVersion.full (#8484) 2026-01-11 19:17:26 -05:00
notes
project [2.x] Remove unused code in project/Dependencies.scala (#8522) 2026-01-13 18:43:08 -05:00
protocol/src [2.x] fix: Propagate SBT_OPTS to BSP config (#8531) 2026-01-14 14:20:30 -05:00
run [2.x] Delete TrapExitSecurityException (#8503) 2026-01-12 19:11:35 -05:00
sbt-app/src [2.x] fix: Preserve user-defined scalacOptions in doc task scope (#8528) 2026-01-14 00:57:42 -05:00
sbt-remote-cache/src/main/scala/sbt
scripted-sbt [2.x] fix: trim whitespace from sbt.version in build.properties (#8524) 2026-01-13 21:13:47 -05:00
scripts
server-test/src Fix BuildServerTest (#8475) 2026-01-11 07:20:10 -05:00
src/main/conscript
tasks Fix scaladoc (#8476) 2026-01-11 07:20:40 -05:00
tasks-standard Use SAM-conversion if possible (#8477) 2026-01-11 07:21:28 -05:00
testing Apply Contraband 2025-09-28 21:28:21 -04:00
util-cache [2.x] test: Migrate FileInfoSpec.scala to verify.BasicTestSuite (#8544) 2026-01-15 22:19:30 -05:00
util-collection Fix scaladoc (#8476) 2026-01-11 07:20:40 -05:00
util-tracking Remove deprecated methods 2025-05-11 05:23:41 -04:00
worker/src [2.x] Add testForkedParallelism setting for forked test thread count (#8453) 2026-01-09 12:43:50 -05:00
zinc-lm-integration/src Merge branch '1.12.x' into wip/merge-1.12.x 2026-01-05 00:08:21 -05:00
.git-blame-ignore-revs
.gitattributes
.gitignore Merge branch '1.11.x' into wip/merge-1.11.x 2025-08-25 02:29:12 -04:00
.gitmodules
.jvmopts
.mailmap
.sbtopts
.scala-steward.conf
.scalafmt.conf update scalafmt config. re-format build files 2025-09-23 10:28:38 +09:00
AGENTS.md [2.x] docs: Minor tweaks to the docs (#8480) 2026-01-11 15:08:20 -05:00
CONTRIBUTING.md [2.x] docs: Minor tweaks to the docs (#8480) 2026-01-11 15:08:20 -05:00
LICENSE
NOTICE
PROFILING.md docs: Update flamegraph guide --lines 2025-11-09 18:06:13 -05:00
README.md docs: Contributor's Guide 2026-01-11 03:24:30 -05:00
SUPPORT.md
build.sbt [2.x] feat: Enable musl static linking for sbtn on JDK 17+ (#8464) 2026-01-13 23:14:45 -05:00
reset.sh
sbt [2.x] fix: Fix sbtopts files priority in sbt launch script (#8514) 2026-01-13 13:30:13 -05:00
sbt-allsources.sh
sbt.sh
server.md

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 2.x

This is the 2.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 implement 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, and Contributor's guide before opening a pull request.

If you're looking for an idea for a contribution, issues labeled with good first issue or help wanted might be good starting points.

If you would like to ask questions about sbt, there's sbt channel on Scala Discord, but it would be good to gather questions on Stackoverflow.

license

See LICENSE.