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 Oct 27, 2022
1 parent f31f4d5 commit ee24860
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .baseline/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</module>
<module name="LineLength"> <!-- Java Style Guide: No line-wrapping -->
<property name="max" value="120"/>
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://|\{@link"/>
</module>
<module name="TreeWalker">
<module name="SuppressionCommentFilter"/> <!-- baseline-gradle: README.md -->
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ buildscript {
classpath 'com.palantir.javaformat:gradle-palantir-java-format:2.27.0'
classpath 'com.gradle.publish:plugin-publish-plugin:1.0.0'
classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:2.11.0'
classpath 'com.palantir.baseline:gradle-baseline-java:4.178.0'
classpath 'com.palantir.baseline:gradle-baseline-java:4.182.0'
classpath 'com.palantir.gradle.conjure:gradle-conjure:5.31.0'
classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.15.0'
classpath 'gradle.plugin.org.inferred:gradle-processors:3.7.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public final void createManifest() throws IOException {
ImmutableMap.builder()
.putAll(getLocalMetrics())
.putAll(getDiscoveredMetrics())
.build());
.buildOrThrow());
}

private Map<String, List<MetricSchema>> getLocalMetrics() {
Expand Down Expand Up @@ -167,7 +167,7 @@ private Map<String, List<MetricSchema>> getDiscoveredMetrics() {
}
});

return discoveredMetrics.build();
return discoveredMetrics.buildOrThrow();
}

private static Optional<List<MetricSchema>> inferProjectDependencyMetrics(Project dependencyProject) {
Expand Down

0 comments on commit ee24860

Please sign in to comment.