android-custom-lint-rules icon indicating copy to clipboard operation
android-custom-lint-rules copied to clipboard

Library module implementation check module may be unnecessary

Open glorinli opened this issue 3 years ago • 1 comments

https://github.com/googlesamples/android-custom-lint-rules/blob/4ff2f4d91773fb56c136b2b0b581cc4c0e39e72e/library/build.gradle#L20

If we add this implementation line, it will add a dependency of checks module after we publish to maven, but it is unnecessary because the aar will contain lint.jar.

glorinli avatar Jan 12 '22 05:01 glorinli

You can, but you should add implementation and lintChecks both. Otherwise it will not work implementation project(':checks') lintChecks project(':checks')

emirhansoylu avatar Nov 25 '22 19:11 emirhansoylu