From f87c38d736df74f9de1deca274c998655db8a941 Mon Sep 17 00:00:00 2001 From: Alex Cruise Date: Fri, 6 Sep 2024 12:05:40 -0700 Subject: [PATCH] Bump Spotless to allow building in Java 21 --- build.gradle.kts | 2 +- core/build.gradle.kts | 2 +- .../test/java/io/substrait/type/proto/TestTypeRoundtrip.java | 1 + isthmus-cli/build.gradle.kts | 2 +- isthmus/build.gradle.kts | 2 +- spark/build.gradle.kts | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 0911e7092..07ccd48c1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,7 +7,7 @@ plugins { id("java") id("idea") id("com.github.vlsi.gradle-extensions") version "1.74" - id("com.diffplug.spotless") version "6.11.0" + id("com.diffplug.spotless") version "6.19.0" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" id("org.cyclonedx.bom") version "1.8.2" } diff --git a/core/build.gradle.kts b/core/build.gradle.kts index 6cb64ed51..0b3c6d308 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -6,7 +6,7 @@ plugins { id("idea") id("antlr") id("com.google.protobuf") version "0.9.4" - id("com.diffplug.spotless") version "6.11.0" + id("com.diffplug.spotless") version "6.19.0" id("com.github.johnrengelman.shadow") version "8.1.1" signing } diff --git a/core/src/test/java/io/substrait/type/proto/TestTypeRoundtrip.java b/core/src/test/java/io/substrait/type/proto/TestTypeRoundtrip.java index 0f7af8b29..e69a293fa 100644 --- a/core/src/test/java/io/substrait/type/proto/TestTypeRoundtrip.java +++ b/core/src/test/java/io/substrait/type/proto/TestTypeRoundtrip.java @@ -45,6 +45,7 @@ public void roundtrip(boolean n) { private ProtoTypeConverter protoTypeConverter = new ProtoTypeConverter( lookup, ImmutableSimpleExtension.ExtensionCollection.builder().build()); + /* * Test a type pojo -> proto -> pojo roundtrip. * diff --git a/isthmus-cli/build.gradle.kts b/isthmus-cli/build.gradle.kts index b84301fe6..82ece7389 100644 --- a/isthmus-cli/build.gradle.kts +++ b/isthmus-cli/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("java") id("idea") id("com.palantir.graal") version "0.10.0" - id("com.diffplug.spotless") version "6.11.0" + id("com.diffplug.spotless") version "6.19.0" } java { diff --git a/isthmus/build.gradle.kts b/isthmus/build.gradle.kts index 4de0daef1..820467242 100644 --- a/isthmus/build.gradle.kts +++ b/isthmus/build.gradle.kts @@ -4,7 +4,7 @@ plugins { `maven-publish` id("java") id("idea") - id("com.diffplug.spotless") version "6.11.0" + id("com.diffplug.spotless") version "6.19.0" id("com.github.johnrengelman.shadow") version "8.1.1" signing } diff --git a/spark/build.gradle.kts b/spark/build.gradle.kts index 0501cf51e..54c320bc9 100644 --- a/spark/build.gradle.kts +++ b/spark/build.gradle.kts @@ -3,7 +3,7 @@ plugins { id("java") id("scala") id("idea") - id("com.diffplug.spotless") version "6.11.0" + id("com.diffplug.spotless") version "6.19.0" signing }