From 1fa52dcf9b11a1fba7e0bb2e189899e26f54058e Mon Sep 17 00:00:00 2001 From: Andrew Pilloud Date: Mon, 28 Nov 2022 11:09:20 -0800 Subject: [PATCH] Enforce GCP BOM on sdks/java/harness --- sdks/java/harness/build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdks/java/harness/build.gradle b/sdks/java/harness/build.gradle index 73a3c09f3e78..cf9ae66f090d 100644 --- a/sdks/java/harness/build.gradle +++ b/sdks/java/harness/build.gradle @@ -24,6 +24,7 @@ configurations { dependencies { // provided dependencies are declared early so they can be resolved in shadowClosure + provided enforcedPlatform(library.java.google_cloud_platform_libraries_bom) // :sdks:java:core and transitive dependencies provided project(path: ":model:pipeline", configuration: "shadow") @@ -72,6 +73,7 @@ description = "Apache Beam :: SDKs :: Java :: Harness" ext.summary = "This contains the SDK Fn Harness for Beam Java" dependencies { + implementation enforcedPlatform(library.java.google_cloud_platform_libraries_bom) implementation project(path: ":model:fn-execution", configuration: "shadow") implementation project(":runners:core-construction-java") implementation project(":runners:core-java")