Find files in a source set

Apache 2.0

Source sets are a way to organize your source code into logical groups. For example, Java projects commonly have a main source set for application code and a test source set for test code. This recipe will find all files in a given source set.

org.openrewrite.java.search.HasSourceSet

Required

The source set to search for.

mod run . --recipe=org.openrewrite.java.search.HasSourceSet \ -P sourceSet=main

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