nebula-plugins / gradle-lint-plugin

A pluggable and configurable linter tool for identifying and reporting on patterns of misuse or deprecations in Gradle scripts.
Apache License 2.0
764 stars 88 forks source link

lint.patch with rule `unused-dependency` on multimodule project broken #44

Open tedsteen opened 8 years ago

tedsteen commented 8 years ago

project dependencies are not handled correctly, the added lines in lint.patch are prefixed with the root project, version is unspecified and added as a compile dependency (not compile project) f.ex compile 'Casumo-Engine.platform.components/seamless-wallet:seamless-wallet-api:unspecified' Also no project dependencies are removed, only the broken prefixed ones are added.

tedsteen commented 8 years ago

A typical project dependency here looks like this compile project(':infrastructure/jersey-spring') and import in settings.gradle would look something like this include "infrastructure/jersey-spring"