cashapp / licensee

Gradle plugin which validates the licenses of your dependency graph match what you expect
https://cashapp.github.io/licensee/docs/1.x/
Apache License 2.0
626 stars 29 forks source link

ClosureBackedAction will be removed in Gradle 9.0 #143

Closed gabrielittner closed 1 year ago

gabrielittner commented 1 year ago

There is still a lot of time until then but the ClosureBackedAction used by this plugin will be removed in the future.

Usage: https://github.com/cashapp/licensee/blob/trunk/src/main/kotlin/app/cash/licensee/pluginExtension.kt

Docs:

This class is only here to maintain binary compatibility with existing plugins.
To apply a configuration (represented by a Groovy closure) on an object, use [Project.configure(Object, Closure)](https://docs.gradle.org/current/javadoc/org/gradle/api/Project.html#configure-java.lang.Object-groovy.lang.Closure-).

https://docs.gradle.org/current/javadoc/org/gradle/util/ClosureBackedAction.html