From 55e7d199a6e6c8475f13da9dc65f7c3c7dcb6441 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Mon, 13 Nov 2023 12:21:19 -0500 Subject: [PATCH] Mark Avro as provided in harness JAR (#29412) (#29415) * Mark Avro as provided in harness JAR * Add permitUnusedDeclared for Avro Co-authored-by: Bruno Volpato --- 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 50eed2f2573b..937e870a22f4 100644 --- a/sdks/java/harness/build.gradle +++ b/sdks/java/harness/build.gradle @@ -30,6 +30,7 @@ dependencies { provided project(path: ":model:pipeline", configuration: "shadow") provided project(path: ":sdks:java:core", configuration: "shadow") provided project(path: ":sdks:java:transform-service:launcher", configuration: "shadow") + provided library.java.avro provided library.java.joda_time provided library.java.slf4j_api provided library.java.vendored_grpc_1_54_0 @@ -93,4 +94,5 @@ dependencies { shadowTestRuntimeClasspath project(path: ":sdks:java:core", configuration: "shadowTest") testImplementation project(path: ":sdks:java:fn-execution", configuration: "testRuntimeMigration") shadowTestRuntimeClasspath library.java.slf4j_jdk14 + permitUnusedDeclared library.java.avro }