sbt/main
bitloi 64dadd6459
[2.x] fix: Throw on addCompilerPlugin(foo % Test) (#8622)
Problem

When using `addCompilerPlugin((dependency) % Test)`, the compiler plugin was incorrectly added to BOTH `test:scalacOptions` AND `compile:scalacOptions`, instead of only `test:scalacOptions`.

Solution

Throw when the dependency is scoped, since we do not support this use case.
2026-01-23 11:41:16 -05:00
..
src [2.x] fix: Throw on addCompilerPlugin(foo % Test) (#8622) 2026-01-23 11:41:16 -05:00
NOTICE Transfer copyright to Scala Center 2023-06-20 16:39:07 +02:00