nebula-plugins / gradle-lint-plugin

A pluggable and configurable linter tool for identifying and reporting on patterns of misuse or deprecations in Gradle scripts.
Apache License 2.0
761 stars 88 forks source link

Plugin is incompatible with Gradle 7.6.x and 8.x #393

Open gbrodman opened 12 months ago

gbrodman commented 12 months ago

There might be more ways in which it is incompatible, but at the very least the plugin references the field executionQueue of the execution plan (specifically, DefaultFinalizedExecutionPlan). This field was renamed in Gradle's DefaultFinalizedExecutionPlan back in September of 2022, meaning that that reference is no longer valid.

That particular Gradle commit is in all 7.6.x and all 8.x releases, meaning that attempting to run the plugin gives an exception: groovy.lang.MissingPropertyException: No such property: executionQueue for class: org.gradle.execution.plan.DefaultFinalizedExecutionPlan

I'm not sure if there are other issues or how the project handles Gradle version compatibility (hence the lack of pull request), but hopefully it should not be a super complicated fix.

vbrandl commented 2 months ago

Are there any plans to support newer versions of Gradle? Or would you accept a PR implementing the changes?