Trying to removing root project restriction #242
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm opening this up more as a conversation starter than a change to be put in immediately.
Where I'm working, I really want to apply the gradle lint plugin inside a mono-repo. Applying the plugin at the root level is just not feasible - it takes far too long to analyze the whole root, and I wouldn't even be able to apply most of the fixes because I only work on a very small bit of the whole repository.
So here's my attempt at removing the restriction. I'm definitely not understanding why it was there in the first place (e.g. what bugs have I uncovered by removing this restriction?).
My initial testing with the modified plugin has been successful so far. I was able to apply it to a subproject and the analysis I get is only for that subproject.