scalac options for the enlightened
defaultConsoleExclude
option set was added to the ScalacOptions
DSL. This option set can be used for filtering out compiler options that trigger warnings in the Scala REPL.tpolecatConsoleOptionsFilter
was replaced by tpolecatExcludeOptions
. The use of a function to filter out console options did not interact well with the new method of setting scalacOptions
in sbt-tpolecat 0.2.3. Please append to tpolecatExcludeOptions
in the console
task you wish to configure instead, e.g.
IntegrationTest / console / tpolecatExcludeOptions ++= ScalacOptions.defaultConsoleExclude
-Xsource
(Scala 2.x) and -source
(Scala 3.x) early migration settings to the ScalacOptions DSL.scalacOptions
where it was set using :=
rather than appended to via ++=
. This prevented scope delegation via ThisBuild / scalacOptions
from working for some users.versionScheme
to clarify version compatibility claims.-Xfatal-warnings
regardless of version once more. Applying -Werror
for Scala 2.13.x causes problems for users who currently filter out -Xfatal-warnings
from scalacOptions
explicitly.ScalacOptions
DSL.ScalacOptions
DSL for setting options in each mode.tpolecatDevMode
, tpolecatCiMode
, tpolecatReleaseMode
.scalacOptionsFor
exported via this plugin's autoImport
- it now requires a Set
of all selected ScalacOptions
for the current mode in addition to the current Scala version.filterConsoleScalacOptions
function exported via this plugin's autoImport
was renamed to tpolecatConsoleOptionsFilter
for consistency with other keys provided by the plugin.validFor
function that was previously exported via this plugin's autoImport
.