From 836660ce4c779bfe84c36d560ad6b1f4dfd12ef6 Mon Sep 17 00:00:00 2001 From: seebees Date: Thu, 19 Oct 2023 15:55:17 -0700 Subject: [PATCH] update --- .../runtimes/java/build.gradle.kts | 4 +++- AwsCryptographyPrimitives/runtimes/java/build.gradle.kts | 2 +- ComAmazonawsDynamodb/runtimes/java/build.gradle.kts | 2 +- ComAmazonawsKms/runtimes/java/build.gradle.kts | 2 +- StandardLibrary/runtimes/java/build.gradle.kts | 4 ++-- .../runtimes/java/build.gradle.kts | 2 +- 6 files changed, 9 insertions(+), 7 deletions(-) diff --git a/AwsCryptographicMaterialProviders/runtimes/java/build.gradle.kts b/AwsCryptographicMaterialProviders/runtimes/java/build.gradle.kts index e5093a62b..bfcf2094e 100644 --- a/AwsCryptographicMaterialProviders/runtimes/java/build.gradle.kts +++ b/AwsCryptographicMaterialProviders/runtimes/java/build.gradle.kts @@ -7,7 +7,9 @@ plugins { `signing` id("com.github.johnrengelman.shadow") version "7.1.2" id("io.github.gradle-nexus.publish-plugin") version "1.3.0" - id("com.diffplug.spotless") version "6.22.0" + if (JavaVersion.current() >= JavaVersion.VERSION_11) { + id("com.diffplug.spotless") version "6.22.0" + } } group = "software.amazon.cryptography" diff --git a/AwsCryptographyPrimitives/runtimes/java/build.gradle.kts b/AwsCryptographyPrimitives/runtimes/java/build.gradle.kts index 10fca8f8b..f8bb34bef 100644 --- a/AwsCryptographyPrimitives/runtimes/java/build.gradle.kts +++ b/AwsCryptographyPrimitives/runtimes/java/build.gradle.kts @@ -4,7 +4,7 @@ import javax.annotation.Nullable plugins { `java-library` `maven-publish` - if (JavaVersion.current() >= JavaVersion.VERSION_11) { + if (JavaVersion.current() >= JavaVersion.VERSION_11) { id("com.diffplug.spotless") version "6.22.0" } } diff --git a/ComAmazonawsDynamodb/runtimes/java/build.gradle.kts b/ComAmazonawsDynamodb/runtimes/java/build.gradle.kts index e4b31b2c4..c87feeef4 100644 --- a/ComAmazonawsDynamodb/runtimes/java/build.gradle.kts +++ b/ComAmazonawsDynamodb/runtimes/java/build.gradle.kts @@ -4,7 +4,7 @@ import javax.annotation.Nullable plugins { `java-library` `maven-publish` - if (JavaVersion.current() >= JavaVersion.VERSION_11) { + if (JavaVersion.current() >= JavaVersion.VERSION_11) { id("com.diffplug.spotless") version "6.22.0" } } diff --git a/ComAmazonawsKms/runtimes/java/build.gradle.kts b/ComAmazonawsKms/runtimes/java/build.gradle.kts index 1a3183856..6b6b5bc82 100644 --- a/ComAmazonawsKms/runtimes/java/build.gradle.kts +++ b/ComAmazonawsKms/runtimes/java/build.gradle.kts @@ -4,7 +4,7 @@ import javax.annotation.Nullable plugins { `java-library` `maven-publish` - if (JavaVersion.current() >= JavaVersion.VERSION_11) { + if (JavaVersion.current() >= JavaVersion.VERSION_11) { id("com.diffplug.spotless") version "6.22.0" } } diff --git a/StandardLibrary/runtimes/java/build.gradle.kts b/StandardLibrary/runtimes/java/build.gradle.kts index c39d92d38..3598b078d 100644 --- a/StandardLibrary/runtimes/java/build.gradle.kts +++ b/StandardLibrary/runtimes/java/build.gradle.kts @@ -4,8 +4,8 @@ import javax.annotation.Nullable plugins { `java-library` `maven-publish` - if (JavaVersion.current() >= JavaVersion.VERSION_11) { - id("com.diffplug.spotless") version "6.22.0" + if (JavaVersion.current() >= JavaVersion.VERSION_11) { + id("com.diffplug.spotless") version "6.22.0" } } diff --git a/TestVectorsAwsCryptographicMaterialProviders/runtimes/java/build.gradle.kts b/TestVectorsAwsCryptographicMaterialProviders/runtimes/java/build.gradle.kts index 0bcbdced5..8358c09e6 100644 --- a/TestVectorsAwsCryptographicMaterialProviders/runtimes/java/build.gradle.kts +++ b/TestVectorsAwsCryptographicMaterialProviders/runtimes/java/build.gradle.kts @@ -8,7 +8,7 @@ tasks.wrapper { plugins { `java-library` `maven-publish` - if (JavaVersion.current() >= JavaVersion.VERSION_11) { + if (JavaVersion.current() >= JavaVersion.VERSION_11) { id("com.diffplug.spotless") version "6.22.0" } }