Skip to content

Log output doesn't give file positions for "must be api" or "inherited implementation" #183

Closed

Description

@RBusarow

Findings are fix()ed before logging. This doesn't work if the configuration is changed or an inherited dependency's provider is deleted, because the logic for finding a position will be looking for a string which no longer exists.

For instance, if the build file had implementation project(':foo'), but then MustBeApi changed it to api project(':foo'), the position for implementation project(':foo') will benull.

Activity

  1. added
    bug
    on Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions