Use container methods instead of Kotlin DSL delegated properties
MSALGradle 9.6 deprecates the Kotlin DSL container delegates by registering, by creating, by existing and by getting, scheduled for removal in Gradle 10. Replace them with explicit calls to register, create, named and getByName, passing the property name as the element name and a Type::class argument as a type argument. This applies to any named container, such as tasks, configurations and sourceSets. Property delegates such as by project and by extra are left unchanged. See the Gradle upgrade guide for more information.
org. openrewrite. gradle. migrate. kotlindsl. UseContainerMethodsInsteadOfDelegatesmod run . --recipe= org. openrewrite. gradle. migrate. kotlindsl. UseContainerMethodsInsteadOfDelegatesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.