Choose an affected module mode
mainThe detector supports three modes to control which projects are considered 'affected'. You can toggle these using Gradle project properties (-P):
- All Affected Projects (Default): The union of Changed Projects and Dependent Projects. This is recommended for merges.
- Changed Projects: Only projects that had files changed within them. Enabled with
-Paffected_module_detector.changedProjects. - Dependent Projects: Only projects that depend on projects that had changes. Enabled with
-Paffected_module_detector.dependentProjects.
To enable the detector at all, you must pass -Paffected_module_detector.enable.