gradle-lint-plugin
gradle-lint-plugin copied to clipboard
Support linting files applied in apply froms
The first attempt at apply from support was incompatible with rules that kept state about the call sites in files - each instance of the rule was running against the different files, but if they use bookmarks or otherwise keep state around, they'll try to apply fixes at positions that may not exist in the file.
a couple of questions:
- how would i turn on linting of
apply fromfiles in the first attempt? or was this attempt not part of a release? - if i wanted to do this "by hand", is there an example of how to kick off a visitor on a new gradle file (and provide an evaluated project, etc.)
ty! very interested in this feature, and greatly appreciate this project :)
@jmcampanini It was part of a prior release and reverted due to issues that it caused.