InheritedDependencyRule
fails to auto-correct if it can't find the source project's declaration
#459
Labels
bug
Something isn't working
Assume some module has an "invisible" dependency which is applied by a convention plugin. That invisible dependency also provides a transitive dependency, and this transitive dependency qualifies as "inherited".
Because ModuleCheck copies the source declaration when auto-correcting, and it can't find the source, this auto-correct will fail.
In cases like this, it should be fine to just find the
dependencies { ... }
block and add the new dependency (1) above or below any other dependency of that configuration, or (2) at the bottom of the block. If there's no dependencies block at all, just create one.The text was updated successfully, but these errors were encountered: