Find org.gradle.internal.impldep imports in Kotlin scripts

MSAL

On Gradle 9.8, a Kotlin script that imports from org.gradle.internal.impldep fails with Unresolved reference 'impldep'. The replacement is the original library, added as a dependency of the build logic, and which version is a decision to make. Kotlin only: the guide covers Kotlin scripts, and an example Groovy script already failed on Gradle 8.14. See the Gradle upgrade guide for more information.

org.openrewrite.gradle.migrate.search.FindInternalImpldepImports
mod run . --recipe=org.openrewrite.gradle.migrate.search.FindInternalImpldepImports

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.