gradle-dependency-lock-plugin
gradle-dependency-lock-plugin copied to clipboard
Plugins should not use Gradle.buildFinished
This was detected by Gradle's own smoke tests:
https://github.com/nebula-plugins/gradle-dependency-lock-plugin/blob/d9c5ceefe67f2b94ccb546f7b75320c29efe72a0/src/main/kotlin/nebula/plugin/dependencyverifier/DependencyResolutionVerifier.kt#L76
Gradle is in the process of deprecating Gradle.buildFinished and other build scope listeners (such as TaskGraphExecution.addTaskExecutionListener) starting in Gradle 8.10 (currently, it is only reported as a problem when configuration cache is enabled).
Instead of using Gradle.buildFinished, plugins should use "always" flow actions.