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

### Expected behavior The plugin works correctly regardless of the used dependency notation or at least returns a clear error message. ### Actual behavior Using the following format causes incorrect...

On latest [commit 88eb84a2017b5f67a145656ca41d3515979a8002](https://github.com/nebula-plugins/gradle-lint-plugin/commit/88eb84a2017b5f67a145656ca41d3515979a8002) in **main** branch i got test failure for `com.netflix.nebula.lint.rule.dependency.RecommendedVersionsRule`. **Environment** ```java > uname -a Darwin MB-919188.local 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST...

Hi, In this article https://github.com/nebula-plugins/gradle-lint-plugin/wiki/Writing-A-Rule there is an instruction on how to create a rule. In case if I want to implement several rules for my own team, how can...

Hi, I'm using nebula-plugins to help me migrate from maven to gradle and it really did help figuring out either missing declared dependencies or unnecessary dependencies. However, it is giving...

Running `fixLintGradle` either changes `testFixtureImplementation` dependencies into `testImplementation` which break the compilation (project 1), or removes required dependencies all together (project 2, project attached) ` id "nebula.lint" version "17.5.0"` [gradleLintBug.zip](https://github.com/nebula-plugins/gradle-lint-plugin/files/7793220/gradleLintBug.zip)

I am using version 17.5.0 Gradle version 7.3.2 When running the all-dependency rule /gradlew generateGradleLintReport or ./gradlew lintGradle Hits issues on any module which uses the java-platform plugin and therefore...

`settings.gradle`: ```gradle include 'bar' ``` `build.gradle`: ```gradle plugins { id 'nebula.lint' version '17.5.0' id 'dev.jacomet.logging-capabilities' version '0.10.0' apply false } repositories { mavenCentral() } allprojects { apply plugin: 'nebula.lint' repositories...

./gradlew autoLintGradle executing gradlew instead of gradle > Task :autoLintGradle FAILED Error from [com.netflix.nebula.lint.rule.GradleLintRule$1] processing source file [null] FAILURE: Build failed with an exception. * What went wrong: Execution failed...

I am using https://docs.gradle.org/current/samples/sample_convention_plugins.html my ... common-convention.gradle ` /* * This file was generated by the Gradle 'init' task. */ plugins { // Apply the java Plugin to add support...

When I have an unused dependency declared using `dependencies.create`, these are not identified by the plugin: ```gradle plugins { id 'java' id 'nebula.lint' version '17.5.0' } gradleLint.rules = ['unused-dependency'] group...