From b0345644ce5229e8ad61f6c35870edc50292107e Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Fri, 24 Apr 2026 15:37:44 -0700 Subject: [PATCH] GCP Bundle: Remove JSR 305. --- gcp-bundle/LICENSE | 7 ------- gcp-bundle/build.gradle | 6 ++++++ gcp-bundle/runtime-deps.txt | 1 - 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/gcp-bundle/LICENSE b/gcp-bundle/LICENSE index d6d61ae4c578..10c87d69c720 100644 --- a/gcp-bundle/LICENSE +++ b/gcp-bundle/LICENSE @@ -380,13 +380,6 @@ License: Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2 -------------------------------------------------------------------------------- -This product bundles Findbugs jsr305. - -Project URL: http://findbugs.sourceforge.net/ -License: Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0 - --------------------------------------------------------------------------------- - This product bundles Google Error Prone Annotations. Project URL: https://github.com/google/error-prone diff --git a/gcp-bundle/build.gradle b/gcp-bundle/build.gradle index 1f6642c9b2ce..d48763b5e366 100644 --- a/gcp-bundle/build.gradle +++ b/gcp-bundle/build.gradle @@ -23,6 +23,12 @@ project(":iceberg-gcp-bundle") { tasks.jar.dependsOn tasks.shadowJar + configurations { + implementation { + exclude group: 'com.google.code.findbugs', module: 'jsr305' + } + } + dependencies { implementation platform(libs.google.libraries.bom) implementation "com.google.cloud:google-cloud-storage" diff --git a/gcp-bundle/runtime-deps.txt b/gcp-bundle/runtime-deps.txt index b62c772db61a..2c3331f5261b 100644 --- a/gcp-bundle/runtime-deps.txt +++ b/gcp-bundle/runtime-deps.txt @@ -43,7 +43,6 @@ com.google.cloud:google-cloud-core:2.66.0 com.google.cloud:google-cloud-kms:2.91.0 com.google.cloud:google-cloud-monitoring:3.89.0 com.google.cloud:google-cloud-storage:2.64.1 -com.google.code.findbugs:jsr305:3.0.2 com.google.code.gson:gson:2.12.1 com.google.errorprone:error_prone_annotations:2.42.0 com.google.flatbuffers:flatbuffers-java:24.3.25