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:
|
def violations = new LintService().lint(project, onlyCriticalRules.get()).violations |
|
def violations = new LintService().lint(project, false).violations |
See: gradle/gradle#30860
Please, avoid accessing
Task.projectfrom 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
gradle-lint-plugin/src/main/groovy/com/netflix/nebula/lint/plugin/FixGradleLintTask.groovy
Line 58 in 221218a
See: gradle/gradle#30860