Skip to content

Conversation

hamzaremmal
Copy link
Member

For bootstrapped projects, we can already remove the workaround coursier setting the same version for some artifacts.
sbt 1.11.5 will not enforce the same versions when scalaVersion is >=3.8.0.

Migration to sbt 1.11.5 was done in #23805

@@ -1478,7 +1478,7 @@ object Build {
moduleName := "scala3-sbt-bridge",
version := dottyVersion,
versionScheme := Some("semver-spec"),
scalaVersion := referenceVersion, // nonbootstrapped artifacts are compiled with the reference compiler (already officially published)
scalaVersion := dottyNonBootstrappedVersion,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The scalaVersion set for bootstrapped project should be dottyNonBootstrappedVersion

@hamzaremmal hamzaremmal enabled auto-merge August 25, 2025 15:40
@hamzaremmal
Copy link
Member Author

Note that the same thing will be done on non-bootstrapped projects once the reference version is >=3.8.0

@hamzaremmal hamzaremmal merged commit 25092c7 into scala:main Aug 25, 2025
63 of 64 checks passed
@hamzaremmal hamzaremmal deleted the drop-exclusion branch August 25, 2025 20:12
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.

2 participants