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

Use configured repositories from sbt build #488

Merged
merged 3 commits into from
Aug 6, 2024

Commits on Jul 12, 2024

  1. Use configured repositories from the sbt build (scalacenter#3)

    The scala3 migration plugin gave a false suggestion for how to migrate Akka libraries. Instead of saying that the latest 2.9.4 version was a valid scala 3 library it suggested to downgrade to a version as early as 2.6.18 up to the version 2.9.0-M2. These version are the ones that are published to the maven central that this plugin are hard coded to. Later version of akka are published to https://repo.akka.io/maven.
    
    This patch is using the configured repository in the sbt build to resolve the dependencies and are thereby able to find the correct versions.
    
    Now:
    ```
    sbt:test-project>  migrateDependencies test-project
    [info]
    [info] Starting migration of libraries and compiler plugins in project 'test-project'
    [info]
    [info] Valid dependencies:
    ...
    [info] "com.typesafe.akka" %% "akka-cluster-typed" % "2.9.4"
    ...
    ```
    
    Before this commit, older akka versions published to maven central was suggested by the migration tool
    ```
    [warn] Versions to update:
    ...
    [warn] "com.typesafe.akka" %% "akka-cluster-typed" % "2.6.17" (Other versions: 2.6.18, ..., 2.9.0-M2)
    ...
    
    ```
    mblund authored Jul 12, 2024
    Configuration menu
    Copy the full SHA
    3532cbc View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Configuration menu
    Copy the full SHA
    61efc7c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    40db36b View commit details
    Browse the repository at this point in the history