mirror of
https://github.com/sbt/sbt.git
synced 2026-08-29 01:24:09 +02:00
b37fc6d5befc7f73c936aadd999260cd4712884f
Add `testReportsDirectory` setting to allow output directory for JUnitXmlTestsListener to be configured. Add `testReportSettings` which provides defaults values: - by default this uses the build configuration name as a prefix so `target/test-reports` for `Test` config, but `target/it-reports` for `IntegrationTest` (previously this was hardcoded to always use `target/test-reports`). To override this set e.g. `Test / testReportsDirectory := target.value / "my-custom-dir"` - the `JunitXmlTestsListener` is now only attached to the `Test` and `IntegrationTest` configs by default (previously it was added to the global configuration object). Any configs which inherit from one of these will continue to have the listener attached; but completely custom configurations will need to re-add with: `project.settings(testReportSettings)` Fixes #2853
…
…
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%