sbt/internal/util-core/src/main
Dream c3e72f79c0
[2.x] fix: Backtick-quote project IDs in classloader error messages (#8830)
When a test fails with ClassNotFoundException/IllegalAccessError, sbt
suggests a set command to change classLoaderLayeringStrategy. If the
project name contains hyphens (e.g. bug-report), the suggested command
was syntactically invalid because it parses as subtraction in Scala.

Quote project IDs using Util.quoteIfNotScalaId so the suggested
commands are valid when copy-pasted.

Fixes #5803
2026-02-28 01:52:55 -05:00
..
scala/sbt/internal/util [2.x] fix: Backtick-quote project IDs in classloader error messages (#8830) 2026-02-28 01:52:55 -05:00
scala-2/sbt/internal/util/appmacro Deactivate cross-compilation except for utils 2023-11-22 11:51:15 +01:00
scala-3/sbt/internal/util/appmacro update .scalafmt.conf. enforce new scala 3 syntax 2025-01-02 11:25:34 +09:00