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.
I added the Gradle Lint plugin to [my Android project](https://github.com/MaksimDmitriev/Gradle-lint-plugin-Android) in order to detect unused Gradle dependencies automatically. In my project there is a dependency whose classes are not used...
Yesterday I was experimenting with integrating gradle-lint into our build as a side-project, and it seemed to be taking a while for the build to run for some reason. I...
What might be the cause that adding one private jar to my compile classpath crashes autoLintGradle task with the "Could not resolve all dependencies for configuration ':lintExcludes'" error. Also I...
I added gradle-lint-plugin as a dependency of my java project. In my gradle file I have amongst other things: ``` buildscript { dependencies { classpath 'com.netflix.nebula:gradle-lint-plugin:latest.release' } } apply plugin:...
We use constants for version number like ```groovy implemenation `com.foo:bar:$FOO_VERSION` ``` Where `FOO_VERSION` is defined in `gradle.properties` file. We get the following errors, apparently because of this: ```java 09:09:22.423 [ERROR]...
Hi, when running plugin against my project I ran into this issue: ``` 15:38:07.804 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 15:38:07.805 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception. 15:38:07.805 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 15:38:07.805 [ERROR]...
It will be nice to be able to run `lintGradle` for a specific project so teams can easily find issues for their specific project.
#### Summary: Nebula Lint should not warn of an unused dependency for `@Retention(RetentionPolicy.SOURCE)` annotations . #### Steps to reproduce: Create a gradle project and add the gradle lint plugin. Add...
``` dependencies { gradleLint.ignore { compileOnly 'org.projectlombok:lombok' } .... ``` returns ``` * What went wrong: Execution failed for task ':autoLintGradle'. > java.lang.NullPointerException (no error message) ``` If I don't...