Skip to content

0.2.0

Compare
Choose a tag to compare
@DavidGregory084 DavidGregory084 released this 04 Apr 21:17
· 283 commits to main since this release
6a13e0d

Added

  • Development, CI and release modes for setting options differently according to the context.
  • Add a simple ScalacOptions DSL for setting options in each mode.
  • Add mode-setting commands tpolecatDevMode, tpolecatCiMode, tpolecatReleaseMode.
  • Environment variable checks in order to decide which mode to enable on startup.

Changed

  • The signature of 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.
  • The filterConsoleScalacOptions function exported via this plugin's autoImport was renamed to tpolecatConsoleOptionsFilter for consistency with other keys provided by the plugin.

Removed

  • The validFor function that was previously exported via this plugin's autoImport.