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

A pluggable and configurable linter tool for identifying and reporting on patterns of misuse or deprecations in Gradle scripts.

Results 118 gradle-lint-plugin issues
Sort by recently updated
recently updated
newest added

I have a multimodule project - I apply the plugin as follows at the root: ``` buildscript { repositories { jcenter() } dependencies { classpath 'com.netflix.nebula:gradle-lint-plugin:latest.release' } } allprojects {...

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...

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...

Some Java developers consider nested Gradle multiprojects to be an anti-pattern that introduces more problems than it solves. While I don't 100% agree, I do think it would be helpful...

While using dynamic version for dependencies for our project to auto update libraries, the plugin ignore do not works. ``` gradleLint.ignore('duplicate-dependency-class') { compile 'com.sun.jersey:jersey-bundle:1.19.4' } ``` While this one to...

There seems to be an error on linter side, as when I check gradle dependencies I don't see problematic libraries in the same configuration. For example I have the following...

Hi! I have written simple rule for my project, and it works. But in test it didn't. Probably test runner can't find rule id. Maybe someone have had the same...

Enabling the [Spotbugs plugin](https://plugins.gradle.org/plugin/com.github.spotbugs) for Gradle causes the plugin to lint every single dependency as `unused-dependency` while using the [Findbugs plugin](https://docs.gradle.org/current/userguide/findbugs_plugin.html) works fine. The issue can be reproduced, using the...

``` apply plugin: 'nebula.lint' gradleLint.rules = ['unused-dependency'] // add as many rules here as you'd like ``` following is the dependencies I have added for firebase. ``` api "com.google.android.gms:play-services-location:15.0.1" api...

``` compile (group: 'com.xxx.yyy, name: 'dep-name, version: "$version") { exclude ... exclude ... } ``` When however, different rule, like 'unused-dependency' is used, the problem does not happen. For example,...