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.
When using Gradle's "version catalog" feature to declare dependencies, the "unused-dependency" detector doesn't find problems that it normally would. With `gradle/libs.versions.toml` file containing: ```toml [versions] slf4j = "1.7.36" [libraries] slf4j-api...
Hi, I believe this may not be a bug in this plugin, but I am not entirely sure, so I hope you can have a look to help me at...
Currently, the Kotlin plugin adds the dependency `org.jetbrains.kotlin:kotlin-stdlib:$version` automatically to Kotlin modules. This dependency is added in the configurations `$DependenciesMetadata` (e.g. `implementationDependenciesMetadata`, `apiDependenciesMetadata`) and **not** in `implementation` and `api`. Running...
Running `gradle autoLintGradle` on Gradle 7.5.1 leads to: ``` > Task :autoLintGradle Invocation of Task.project at execution time has been deprecated. This will fail with an error in Gradle 8.0....
This fixes #120, returns the instance of `DependencyClassVisitor` when ASM detects an array. As a result, `visit` is called against each element of the array, subsequently calling `readType` to determine...
After adding some specific code to my project, `gradle autoLintGradle` began failing with: ``` Error from [com.netflix.nebula.lint.rule.GradleLintRule$1] processing source file [null] groovy.lang.MissingPropertyException: No such property: code for class: org.codehaus.groovy.ast.expr.PropertyExpression Possible...
Using Gradle 7.5.1, nebula.lint 19.0.1 and openjdk 17.0.10 I get the following error: ``` Cannot cast object 'ExecutionQueue[:compileJava, :processResources, :classes, :jar, :assemble, :compileTestJava, :processTestResources, :testClasses, :test, :check, :build, producer locations...
This link on wiki home, under "Use" has a typo in its link text: [Automatic lint exection](https://github.com/nebula-plugins/gradle-lint-plugin/wiki/Automatic-lint-execution) It should be execution, not exection.