Skip to content

special behavior for main dependencies which are used but only in lesser source sets #113

@RBusarow

Description

@RBusarow

If a module declares a dependency as api, implementation, etc, but only uses that dependency in tests, ModuleCheck will report that dependency as unused.

Instead, that dependency should be demoted to testImplementation or androidTestImplementation.

Technically the same should be applied to other build flavor dependencies, like debug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfeatureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions