nebula-plugins / gradle-dependency-lock-plugin

A plugin to allow people using dynamic dependency versions to lock them to specific versions.
Apache License 2.0
293 stars 43 forks source link

Avoid using `Task.project` at task execution time #273

Open abstratt opened 1 month ago

abstratt commented 1 month ago

Accessing Task.project at execution time is being deprecated in Gradle 8.12, and will be forbidden in a future Gradle release.

https://github.com/nebula-plugins/gradle-dependency-lock-plugin/blob/7cf2415f6b262e1f7a4bc3e661c68e26a1cd8ff1/src/main/groovy/nebula/plugin/dependencylock/tasks/GenerateLockTask.groovy#L76

See: https://github.com/gradle/gradle/issues/30860