gradle-lint-plugin
gradle-lint-plugin copied to clipboard
undeclared-dependency disabled for spring-starter libraries
I would like to use the undeclared-dependency rule on my project. It's just that it goes against the spring-boot-starter logic. Using Spring Boot Starters cleans up your gradle file from unnecessary dependency declarations and it provides the autoconfiguration. Redeclaring those dependencies that Spring Boot Starter provides goes againts its concept, I think. So I was wondering if I could disable this check for certain libraries (Spring Boot Starters for example) and keep it for all other libraries.
I know that some people suggest to start with the starter library and later clean up by removing starter and listing all the libraries that are actually in use. But I would really preffer to keep only starter libraries in my gradle build file and not list all the individiual libraries. (But this applies with Spring Boot Staters only)