Open
Description
Describe the bug
The order of -Wconf
options is important in evaluating which warning configuration rules apply. In Scala 2.13.15 the last matching rule will apply. In Gradle everything works and the order we specify the -Wconf
is respected, however when we export the Bloop build, the order is completely changed.
That's because this plugin converts the list of options into a set and then sorts the set.
gradle-bloop/src/main/scala/bloop/integrations/gradle/model/BloopConverter.scala
Lines 1237 to 1254 in be6e34b
Expected behavior
The order of Scala compiler options should match exactly what Gradle uses to compile Scala.
Operating system
macOS
Version of Gradle
7.6.4
Version of gradle-bloop
1.6.2
Version of Bloop
1.5.15
Metadata
Metadata
Assignees
Labels
No labels