From acc00dda9625f31e43e8f4e26b4d51fbec885e28 Mon Sep 17 00:00:00 2001 From: Ting-Yuan Huang Date: Thu, 4 Apr 2024 10:35:08 -0700 Subject: [PATCH] Do not minimize lz4-java some of the classes can be loaded via reflection (cherry picked from commit bad7dacad70fdf3cec9253a477e5a9e3c114d07e) --- kotlin-analysis-api/build.gradle.kts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kotlin-analysis-api/build.gradle.kts b/kotlin-analysis-api/build.gradle.kts index 15b79fadf9..b13460bd59 100644 --- a/kotlin-analysis-api/build.gradle.kts +++ b/kotlin-analysis-api/build.gradle.kts @@ -128,7 +128,9 @@ tasks.withType() { } exclude("kotlin/**") archiveClassifier.set("") - minimize() + minimize { + exclude(dependency("org.lz4:lz4-java:.*")) + } mergeServiceFiles() doLast {