gradle-lint-plugin icon indicating copy to clipboard operation
gradle-lint-plugin copied to clipboard

Test scope is checked (and fails) when test is not executed

Open vbrandl opened this issue 6 years ago • 0 comments

I have junit:junit:4.12 defined as a testCompile dependency. When I execute tasks, that do not run the test task (e.g. spotbugsMain, pmdMain, publish), the test scope is also linted but since no test tasks are executed, the plugin fails with a unused-dependency lint.

vbrandl avatar Apr 25 '19 12:04 vbrandl