[2.x] Respect scalaOrganization in compiler bridge resolution#8732
[2.x] Respect scalaOrganization in compiler bridge resolution#8732eed3si9n merged 1 commit intosbt:developfrom
scalaOrganization in compiler bridge resolution#8732Conversation
791c01e to
e31df21
Compare
Relying on external repo is ok for scripted tests (we already have many of them). If it starts failing we'll just disable it, but it would be good to have an integration test to prove out an end-to-end scenario. |
scalaOrganization in compiler bridge resolutionscalaOrganization in compiler bridge resolution
|
Thanks, added a scripted tests to verify |
Welcome back, and hope you're feeling better. |
|
Mima is failing but it's internal class so feel free to add excludes: exclude[DirectMissingMethodProblem]("sbt.internal.inc.ZincLmUtil.*"), |
**Problem** `scalaOrganization` was ignored during compiler bridge resolution because `ZincLmUtil.getDefaultBridgeModule` hard-coded `ScalaArtifacts.Organization` (`org.scala-lang`). **Solution** Add a `scalaOrganization` parameter to `ZincLmUtil` methods, and passing `scalaOrganization` value to those methods. Generated-by: Claude Opus 4.6
4560b5a to
72938a9
Compare
|
Thanks! now CI passed 👍 |
…8732) **Problem** `scalaOrganization` was ignored during compiler bridge resolution because `ZincLmUtil.getDefaultBridgeModule` hard-coded `ScalaArtifacts.Organization` (`org.scala-lang`). **Solution** Add a `scalaOrganization` parameter to `ZincLmUtil` methods, and passing `scalaOrganization` value to those methods. Generated-by: Claude Opus 4.6
… (#8799) **Problem** `scalaOrganization` was ignored during compiler bridge resolution because `ZincLmUtil.getDefaultBridgeModule` hard-coded `ScalaArtifacts.Organization` (`org.scala-lang`). **Solution** Add a `scalaOrganization` parameter to `ZincLmUtil` methods, and passing `scalaOrganization` value to those methods. Generated-by: Claude Opus 4.6 Co-authored-by: Rikito Taniguchi <[email protected]>
fix #8731
Problem
scalaOrganizationwas ignored during compiler bridge resolution becauseZincLmUtil.getDefaultBridgeModulehard-codedScalaArtifacts.Organization(org.scala-lang).Solution
Add a
scalaOrganizationparameter toZincLmUtilmethods, and passingscalaOrganizationvalue to those methods.I'm wondering how can we test this change, we can write scripted tests that resolves
io.github.scala-wasmrepo, but relying on external repositories might be fragile?Generated-by: Claude Opus 4.6