File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
buildSrc/src/main/java/com/google/firebase/gradle/plugins/ci Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ abstract class ChangedModulesTask : DefaultTask() {
33
33
AffectedProjectFinder (project, changedGitPaths.toSet(), listOf ()).find().map { it.path }
34
34
.toSet()
35
35
36
- val result = project.rootProject.subprojects.associateTo( mutableMapOf ()) {
36
+ val result = project.rootProject.subprojects.associate {
37
37
it.path to mutableSetOf<String >()
38
38
}
39
39
project.rootProject.subprojects.forEach { p ->
40
40
p.configurations.forEach { c ->
41
41
c.dependencies.filterIsInstance<ProjectDependency >().forEach {
42
- result.getOrPut( it.dependencyProject.path) { mutableSetOf () } .add(p.path)
42
+ result[ it.dependencyProject.path]? .add(p.path)
43
43
}
44
44
}
45
45
}
You can’t perform that action at this time.
0 commit comments