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

Handle better GString expressions within dependency declaration #319

Closed chali closed 3 years ago

chali commented 3 years ago

The goal of this PR is to get access to the exact original declaration of dependency. Currently com.google.guava:guava:${version} would be visible from lint rules as com.google.guava:guava:$version missing braces complicates things when more complex expression is used. After this change braces will be preserved.

coveralls commented 3 years ago

Coverage Status

Coverage increased (+0.02%) to 76.816% when pulling 09919fdb6fbf04928332c060964dcf4507d4d18e on chali:HandleGStringExpressions into 6eda9cd91d36b9b65397d70433bcb268ae943af5 on nebula-plugins:master.