Skip to content

Commit a89f547

Browse files
committed
Clarify prefix matching logic
1 parent d8d3066 commit a89f547

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

gradle/ci_jobs.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ if (rootProject.hasProperty("gitBaseRef")) {
110110

111111
final projects = subprojects.sort { a, b -> b.projectDir.path.length() <=> a.projectDir.path.length() }
112112
Map<Project, Set<String>> _affectedProjects = [:]
113+
// Path prefixes mapped to affected task names. A file not matching any of these prefixes will affect all tasks in
114+
// the project ("all" can be used a task name to explicitly state the same). Only the first matching prefix is used.
113115
final List<Map<String, String>> matchers = [
114116
[prefix: 'src/testFixtures/', task: 'testFixturesClasses'],
115117
[prefix: 'src/test/', task: 'testClasses'],

0 commit comments

Comments
 (0)