From 5b2f7def96d3f05fe7cb42f80de8095eec304569 Mon Sep 17 00:00:00 2001 From: Kodai Doki Date: Tue, 13 Aug 2024 11:18:45 +0900 Subject: [PATCH 1/2] Remove spotlessJava tasks --- .../build.gradle | 9 --------- spring-data-sample/build.gradle | 9 --------- 2 files changed, 18 deletions(-) diff --git a/spring-data-multi-storage-transaction-sample/build.gradle b/spring-data-multi-storage-transaction-sample/build.gradle index d455db5..359e66c 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 d455db5..359e66c 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' } From 3beb81e5543f992df38a1c729afbdcf369993758 Mon Sep 17 00:00:00 2001 From: Kodai Doki Date: Tue, 13 Aug 2024 11:26:55 +0900 Subject: [PATCH 2/2] add javax.annotation dependency explicitly --- spring-data-microservice-transaction-sample/rpc/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-data-microservice-transaction-sample/rpc/build.gradle b/spring-data-microservice-transaction-sample/rpc/build.gradle index 2b0a5c0..59b163a 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 {