Skip to content

Commit 215c85a

Browse files
committed
[fix] Jar shrinking removing crucial class
1 parent 072fe97 commit 215c85a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/buildJarSafe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ mv "$__named" "$__bad_named" # rename it to include release
4444
# Build release jar with the name without -release
4545
export JAVA_HOME="$JDK_11_HOME"
4646
sudo archlinux-java set java-11-openjdk || exit $?
47-
java -jar "$__d/jar-shrink/jar-shrink.jar" "$__bad_named" -out "$__named" -n -keep "me.zeroeightsix" -keep "baritone" -keep "org.kamiblue" -keep "org.spongepowered"
47+
java -jar "$__d/jar-shrink/jar-shrink.jar" "$__bad_named" -out "$__named" -n -keep "me.zeroeightsix" -keep "baritone" -keep "baritone.cache" -keep "org.kamiblue" -keep "org.spongepowered"
4848

4949
rm "$__bad_named" # remove the un-shrunk jar with -release
5050

0 commit comments

Comments
 (0)