gradle-lint-plugin
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.
For the dependency where version is sourced as project property unused-exclude-by-dep doesn't work at all. compile("org.springframework:spring-jms:$springVersion") { exclude group: 'org.springframework', module: 'spring-messaging' } It says: `error unused-exclude-by-dep the excluded dependency...
I encoutered this trying to use the plugin for the first time. all I did was add: ``` plugins { ... id 'nebula.lint' version '6.1.4' } gradleLint.rules = ['all-dependency'] ```...
It still happens in version 16.7.0 * What went wrong: Execution failed for task ':autoLintGradle'. > Cannot get property 'files' on null object * Try: Run with --info or --debug...
I'm getting an error when running `lintGradle` on my multi-module project. The configuration is simple, directly from the documentation: ``` apply plugin: 'nebula.lint' gradleLint { rules = ['all-dependency'] alwaysRun =...
If either `duplicate-dependency-class` or `transitive-duplicate-dependency-class` are enabled my build crashes. Full log: ``` 6:09:59 PM: Executing task 'autoLintGradle --stacktrace'... Executing tasks: [autoLintGradle] in project C:\Users\keybo\StudioProjects\bluejay > Configure project :app buildNumber:...
Today the output looks like this: ``` error unused-dependency one or more classes in org.springframework:spring-core:4.3.7.RELEASE are required by your code directly ``` It would be beneficial to have a more...
The fixGradleLint task is failing with the following exception every time. I am not sure if it's related to #263 but it could be. COMPONENT | VERSION/TYPE --------------- | -----------------...
If gradle.properties has `org.gradle.unsafe.configuration-cache=on` then 1 configuration cache problems were found Learn more about the Gradle Configuration Cache. Problems grouped by message ▼ ❌ invocation of Task.project📋 at execution time...
I'm using version 16.7.1. I tested it for several projects. Last project I tested it on was a Gradle 6.1 project. The project is a multi project (root project which...
I have a build.gradle using spring-web, this requires servlet-api in order to compile. But if I add servlet-api as providedCompile, gradle lint plugin keep complaining this unused dependency. So I...