Bump com.diffplug.spotless:spotless-plugin-gradle from 6.17.0 to 6.18.0 (#5352)

* Bump com.diffplug.spotless:spotless-plugin-gradle from 6.17.0 to 6.18.0

Bumps [com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless) from 6.17.0 to 6.18.0.
- [Release notes](https://github.com/diffplug/spotless/releases)
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md)
- [Commits](https://github.com/diffplug/spotless/compare/gradle/6.17.0...gradle/6.18.0)

---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-plugin-gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* spotless

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
This commit is contained in:
dependabot[bot] 2023-04-06 15:13:11 -05:00 committed by GitHub
parent 79e0a7219c
commit 38e38cb29f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 16 deletions

View File

@ -33,7 +33,7 @@ repositories {
dependencies {
implementation("com.google.auto.value:auto-value-annotations:1.10.1")
// When updating, update above in plugins too
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.17.0")
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.18.0")
// Needed for japicmp but not automatically brought in for some reason.
implementation("com.google.guava:guava:31.1-jre")
implementation("com.squareup:javapoet:1.13.0")

View File

@ -157,7 +157,8 @@ class PeriodicMetricReaderTest {
@Timeout(2)
@SuppressLogger(PeriodicMetricReader.class)
public void intervalExport_exporterThrowsException() throws Exception {
WaitingMetricExporter waitingMetricExporter = new WaitingMetricExporter(/* shouldThrow=*/ true);
WaitingMetricExporter waitingMetricExporter =
new WaitingMetricExporter(/* shouldThrow= */ true);
PeriodicMetricReader reader =
PeriodicMetricReader.builder(waitingMetricExporter)
.setInterval(Duration.ofMillis(100))