Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sbt io version compatability #2904

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tiborrr
Copy link
Contributor

@tiborrr tiborrr commented Dec 30, 2024

Problem

The project was experiencing build issues due to version mismatches between SBT 1.10.7 and sbt-io dependencies. This was causing compatibility problems, particularly when using sbt-native-packager and sbt-github-pages plugins together with sbt-bloop.

Solution

Implemented the same version resolution strategy that SBT itself uses in their codebase. https://github.com/sbt/sbt/blob/1.10.x/project/Dependencies.scala
This allows for:

  • Flexible version resolution through environment variables
  • Fallback to a known working version (1.10.3)
  • Better compatibility with SBT plugins

Changes

  • Modified project/build.sbt to use SBT's version resolution strategy
  • Added fallback to sbt-io 1.10.3 which is known to be stable and published
  • Maintained compatibility with existing plugins

…nt variables with a fallback to version 1.10.3, rather than using the sbt version value.
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