Skip to content

Conversation

eed3si9n
Copy link
Member

@eed3si9n eed3si9n commented Aug 25, 2025

Fixes #8230
Fixes #2640

Problem

Setting managedScalaInstance := false fails Java-only tests because the test runner is based on a Scala Runner and sbt 2.x currently derives the ScalaInstance only from update.

Solution

For the purpose of Java-only testing, bring back the optimized Scala Instance.

**Problem**
managedScalaInstance := false fails Java-only tests because
the test runner is based on a Scala Runner and sbt 2.x
currently derives the ScalaInstance only from update.

**Solution**
For the purpose of Java-only testing, create a dummy Scala Instance.
@eed3si9n eed3si9n merged commit a8fc24d into sbt:develop Aug 26, 2025
13 checks passed
@eed3si9n eed3si9n deleted the wip/junit-java branch August 26, 2025 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant