Module has Kotlin source files

MSAL

Marks all files in modules that contain Kotlin source files (.kt) or precompiled Gradle Kotlin scripts in Kotlin source directories. Intended as a precondition to scope recipes to projects that actually compile Kotlin, as opposed to projects that merely pick up kotlin-stdlib transitively. Inverted marking excludes Kotlin DSL scripts with no JavaProject, GradleProject, or JavaVersion markers: their compiler compatibility cannot be established from the model.

org.openrewrite.java.migrate.search.ModuleHasKotlinSource

Optional

invertMarkingBoolean

If true, marks files in modules that do not contain Kotlin sources. Defaults to false.

mod run . --recipe=org.openrewrite.java.migrate.search.ModuleHasKotlinSource

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