Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
RBusarow opened this issue Oct 6, 2021 · 0 comments · Fixed by #184
Closed
Labels
bug Something isn't working

Comments

@RBusarow
Copy link
Member

RBusarow commented Oct 6, 2021

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.

@RBusarow RBusarow added the bug Something isn't working label Oct 6, 2021
@kodiakhq kodiakhq bot closed this as completed in #184 Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant