Skip to content

Migrate deprecated javax.annotation.Generated to jakarta.annotation.Generated #4682

Open
@jimmyhyc

Description

@jimmyhyc

With the latest version 2.56.1, we don't have dependency to javax.inject anymore. However, the code generated by Dagger is still using Generated annotation from javax.
When can we replace with jakarta? Or there is some way that I miss?

import javax.annotation.processing.Generated;

@DaggerGenerated
@Generated(
    value = "dagger.internal.codegen.ComponentProcessor",
    comments = "https://dagger.dev"
)
public final class DaggerAbcComponent {
...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions