Skip to content

Commit

Permalink
Excavator: Upgrades Baseline to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot committed Jul 8, 2022
1 parent a0b266c commit d5c2147
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildscript {
classpath 'com.palantir.gradle.externalpublish:gradle-external-publish-plugin:1.11.0'
classpath 'com.palantir.javaformat:gradle-palantir-java-format:2.25.0'
classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:2.11.0'
classpath 'com.palantir.baseline:gradle-baseline-java:4.139.0'
classpath 'com.palantir.baseline:gradle-baseline-java:4.147.0'
classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.15.0'
classpath 'gradle.plugin.org.inferred:gradle-processors:3.6.0'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import com.google.common.collect.LinkedHashMultimap;
import com.google.common.collect.Maps;
import com.google.common.collect.Multimap;
import com.google.common.collect.Sets;
import com.google.common.collect.Streams;
import com.palantir.gradle.versions.internal.MyModuleIdentifier;
import com.palantir.gradle.versions.internal.MyModuleVersionIdentifier;
Expand Down Expand Up @@ -816,7 +817,7 @@ private static GcvScope getScope(
new ArrayDeque<>(component.getDependents().size());
stack.addAll(component.getDependents());

Set<GcvScope> discoveredScopes = new HashSet<>(2);
Set<GcvScope> discoveredScopes = Sets.newHashSetWithExpectedSize(2);
while (!stack.isEmpty()) {
ResolvedDependencyResult dependent = stack.removeFirst();
if (dependent.isConstraint() || !(dependent.getRequested() instanceof ModuleComponentSelector)) {
Expand Down

0 comments on commit d5c2147

Please sign in to comment.