From 879baf12abb1b6a2831f91ed04cd5d36719b953a Mon Sep 17 00:00:00 2001 From: Kodai Doki <52027276+KodaiD@users.noreply.github.com> Date: Thu, 15 Aug 2024 15:09:22 +0900 Subject: [PATCH] Fix settings to build with newer Java version (#70) --- .../rpc/build.gradle | 1 + .../build.gradle | 9 --------- spring-data-sample/build.gradle | 9 --------- 3 files changed, 1 insertion(+), 18 deletions(-) diff --git a/spring-data-microservice-transaction-sample/rpc/build.gradle b/spring-data-microservice-transaction-sample/rpc/build.gradle index 2b0a5c09..59b163a7 100644 --- a/spring-data-microservice-transaction-sample/rpc/build.gradle +++ b/spring-data-microservice-transaction-sample/rpc/build.gradle @@ -9,6 +9,7 @@ dependencies { api "io.grpc:grpc-protobuf:${grpcVersion}" api "io.grpc:grpc-stub:${grpcVersion}" api "io.grpc:grpc-services:${grpcVersion}" + api "javax.annotation:javax.annotation-api:1.3.2" } protobuf { diff --git a/spring-data-multi-storage-transaction-sample/build.gradle b/spring-data-multi-storage-transaction-sample/build.gradle index d455db50..359e66ca 100644 --- a/spring-data-multi-storage-transaction-sample/build.gradle +++ b/spring-data-multi-storage-transaction-sample/build.gradle @@ -23,15 +23,6 @@ dependencies { implementation 'com.fasterxml.jackson.core:jackson-databind:2.15.1' } -spotless { - java { - target 'src/*/java/**/*.java' - importOrder() - removeUnusedImports() - googleJavaFormat() - } -} - application { mainClassName = 'sample.SampleApp' } diff --git a/spring-data-sample/build.gradle b/spring-data-sample/build.gradle index d455db50..359e66ca 100644 --- a/spring-data-sample/build.gradle +++ b/spring-data-sample/build.gradle @@ -23,15 +23,6 @@ dependencies { implementation 'com.fasterxml.jackson.core:jackson-databind:2.15.1' } -spotless { - java { - target 'src/*/java/**/*.java' - importOrder() - removeUnusedImports() - googleJavaFormat() - } -} - application { mainClassName = 'sample.SampleApp' }