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
771 stars 89 forks source link

DependencyService: fix sourceSetOutput throwing no-such-method #352

Closed rhoughton-pivot closed 3 years ago

rhoughton-pivot commented 3 years ago

When sourceSet is null

Refactor typo was introduced when the method arg was renamed as part of dealing with resolvable vs non-resolvable configurations.

danic-wd commented 3 years ago

Seeing same issue as also using ANTLR in my project so would be great if this got fixed.

rhoughton-pivot commented 3 years ago

The test failure looks due to existing tests not matching with Gradle 7 deprecations. @rpalcolea can you re-trigger tests?

chali commented 3 years ago

I'm closing this PR in favor of #354