Skip to content

Share logic between sbt and mill for setting scalacOptions#285

Merged
WojciechMazur merged 4 commits intomasterfrom
feature/mill-sbt-common-map-sources
Jan 3, 2024
Merged

Share logic between sbt and mill for setting scalacOptions#285
WojciechMazur merged 4 commits intomasterfrom
feature/mill-sbt-common-map-sources

Conversation

@WojciechMazur
Copy link
Copy Markdown
Collaborator

  • Share algorith of filtering and adding scalacOptions
  • Move mill scalacOptions setting to runtime, resolve from sys properties
  • Improve mill version detection, don't use coursier, instead fallback to millw. Always build with detected version if no ./mill file script found
  • Always set -source:3.x-migration flag
  • Always set/remove some of common scalacOptions (deprecations, fatal warning, linting)

@WojciechMazur WojciechMazur merged commit 521da31 into master Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant