Module has Kotlin source files
MSALMarks 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. ModuleHasKotlinSourceOptional
invertMarkingBoolean
If true, marks files in modules that do not contain Kotlin sources. Defaults to false.
mod run . --recipe= org. openrewrite. java. migrate. search. ModuleHasKotlinSourceInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.