Skip to content

Running `org.openrewrite.java.migrate.UpgradeToJava21 should not downgrade jakarta.inject-api dependency, should it? #394

@koppor

Description

@koppor

I ran org.openrewrite.java.migrate.UpgradeToJava21 in moderne.io (https://app.moderne.io/results/gIKdjKpB8)

I scrolled through diff, I found a change inside build.gradle:

-   implementation 'jakarta.inject:jakarta.inject-api:2.0.1'
+   implementation 'jakarta.inject:jakarta.inject-api:1.0.3'

I think, this should not happen, should it?


Side question: Where can I post the wish that moderne should offer a tree like the GitHub file diff (or Octotree)? I really like the UX of GitHub's tree, so that I can quickly see which fles were changed. For large diffs, this is very helpflul.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions