Find custom Test tasks without testClassesDirs and classpath

MSAL

A Test task a build registers itself used to fall back to the test source set, with a deprecation warning since Gradle 8.1. Gradle 9 removed that convention, and such a task now reports NO-SOURCE and the build succeeds, so its tests silently stop running. Which classes it should run is a decision the build has to make. A task configured elsewhere in the script is also marked. See the Gradle upgrade guide for more information.

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

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