Skip to content

new rule: redeclared dependency #534

@RBusarow

Description

@RBusarow

This rule should find and remove and a dependency declaration where

  • the exact same dependency is declared multiple times in this same module (leave one of them)
  • the same dependency is declared in an upstream source set in the same module (if api and testImplementation, then testImplementation is a redeclaration)
  • the same dependency is declared for different configurations of the same source set -- typically api and implementation. In this case, the upstream config (api) wins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    New RuleSomething new to check for

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions