From abc0a057935d66dadd6841595850329fc84dcba5 Mon Sep 17 00:00:00 2001 From: Bruno Volpato Date: Mon, 13 Nov 2023 11:24:36 -0500 Subject: [PATCH] Mark Avro as provided in harness JAR (#29412) * Mark Avro as provided in harness JAR * Add permitUnusedDeclared for Avro --- 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 }