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
292 stars 42 forks source link

Stop using Closure in dependencyFilter #267

Open pkubowicz opened 4 months ago

pkubowicz commented 4 months ago

It's very inconvenient to use extensions having Closure in their API: https://docs.gradle.org/current/userguide/kotlin_dsl.html#groovy_closures_from_kotlin

DependencyLockExtension#setDependencyFilter should use Action instead of Closure.