sourceSets
SourceSets are a core concept in build automation tools like Gradle, particularly for JVM-based projects. They represent collections of source code and resources that are compiled and processed together. Typically, a project will have at least two main sourceSets: main and test.
The main sourceSet usually contains the application's production code and resources. This includes files found in
The test sourceSet, on the other hand, holds your unit and integration tests, along with any test-specific
Build tools use sourceSets to organize project structure and define the scope of various build tasks. For