Skip to content

Gradle 9: new RootComponentIdentifier type #281

@Technici4n

Description

@Technici4n

Gradle 9.0.0 introduces RootComponentIdentifier), a new subtype of ComponentIdentifier).

APIs which return instances of ComponentIdentifier may now return identifier instances of this new type. For example, the ComponentResult), ResolvedVariantResult), and ArtifactView) APIs, among others, are affected.

See: https://docs.gradle.org/9.0.0-rc-3/userguide/upgrading_major_version_9.html#new_subtypes_of_componentidentifier_introduced

We have to check if this will cause issues in MDG, since we do perform instanceof checks for ComponentIdentifier subclasses.

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