sbt/main
bitloi a76074a602
[2.x] fix: skip writing sbt.version in scripted test directories (#8673)
**Problem**

1. Write a scripted test that runs sbt in that test.
2. sbt writes `sbt.version` under `project/build.properties`, which acts as a test filter.
3. The test setup is implicitly altered.

**Solution**

Before writing `build.properties`, sbt checks whether the base directory is inside a scripted test directory (path contains `sbt-test`). If so, it skips writing so the test setup is not altered.
2026-02-01 18:02:17 -05:00
..
src [2.x] fix: skip writing sbt.version in scripted test directories (#8673) 2026-02-01 18:02:17 -05:00
NOTICE Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00