gradle-lint-plugin
                                
                                 gradle-lint-plugin copied to clipboard
                                
                                    gradle-lint-plugin copied to clipboard
                            
                            
                            
                        Test scope is checked (and fails) when test is not executed
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.