File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
build-logic/src/main/kotlin Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,9 @@ tasks.named<ShadowJar>("shadowJar") {
2727 exclude(" LICENSE*" )
2828 exclude(" META-INF/maven/**" )
2929 minimize {
30- // jchronic uses reflection to load things, so we need to exclude it from minimizing
30+ // jchronic + lz4-java uses reflection to load things, so we need to exclude it from minimizing
3131 exclude(dependency(jchronic))
32+ exclude(dependency(stringyLibs.getLibrary(" lz4Java" ).get()))
3233 }
3334}
3435val javaComponent = components[" java" ] as AdhocComponentWithVariants
Original file line number Diff line number Diff line change @@ -163,8 +163,9 @@ tasks.register<ShadowJar>("reobfShadowJar") {
163163 exclude(dependency(libs.jsr305))
164164 }
165165 minimize {
166- // jchronic uses reflection to load things, so we need to exclude it from minimizing
166+ // jchronic + lz4-java uses reflection to load things, so we need to exclude it from minimizing
167167 exclude(dependency(libs.jchronic))
168+ exclude(dependency(libs.lz4Java))
168169 }
169170
170171 // as is done by shadow for the default shadowJar
You can’t perform that action at this time.
0 commit comments