gradle-lint-plugin
gradle-lint-plugin copied to clipboard
fixGradleLint uses single quotes that break variable interpolations
I had double-quoted items in gradle.build so that variable interpolation would work to manage version numbers centrally in one place in the script. But when you run fixGradleLint, it rewrites the items surrounded in single quotes that prevent variable interpolation from working
runtime 'com.fasterxml.jackson.core:jackson-databind:$jacksonVersion'
Should either preserve the original quoting or use double quotes to be safe.
Hi @jaxley , thanks for the report.
Were you able to identify which rule is causing this? That would be very helpful to fix this issue
@rpalcolea I have the same issue with dependency-tuple rule