-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Description
Please, avoid accessing Task.project from task action. This is going to be deprecated in Gradle 8.12, and forbidden in a future release.
Some occurrences:
gradle-lint-plugin/src/main/groovy/com/netflix/nebula/lint/plugin/LintGradleTask.groovy
Line 60 in 221218a
| def violations = new LintService().lint(project, onlyCriticalRules.get()).violations |
gradle-lint-plugin/src/main/groovy/com/netflix/nebula/lint/plugin/FixGradleLintTask.groovy
Line 58 in 221218a
| def violations = new LintService().lint(project, false).violations |
See: gradle/gradle#30860
Metadata
Metadata
Assignees
Labels
No labels