mirror of
https://github.com/sbt/sbt.git
synced 2026-10-08 02:53:10 +02:00
1d08116a2e08f56ebe5238dd57b7c8621708999d
The commit388ed641fbadded an autoplugin that was compiled for every scripted test. Compiling autoplugins introduces a fair bit of overhead because it can easily take 3-4 seconds to compile with a cold compiler and even a warn compiler takes a second or so. Removing the instrumentation caused 3 tests to fail: 1. genereated-root-no-publish relied on setUpScripted modifing the project name. Explicitly setting the name in the project build.sbt fixed it. 2. cp-order I'm not sure why this change broke that test, but changing the coursier classpath ordering setting does not automatically trigger a reload on the next update. I have a more involved change that makes changing coursier settings invalidate the update cache but I'm markign the test as pending for now. It could be fixed by adding a call to `update` after `set csrConfiguration ~= (_.withClasspathOrder(false))` but I think it's better that the test actually reflect the expected behavior until I push the fix. 3. auto-plugins there was a hack that seemed added to address https://github.com/sbt/sbt/issues/3164. I cannot tell from either the issue or the linked PR what was going on and since removing the lines that were explicitly commented as being temporary fixed it, I figured it was ok to remove them. This reverts commite01f5f5ef1.
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%