Skip to content

Commit

Permalink
Fix okio dependency shading
Browse files Browse the repository at this point in the history
Fixes NoClassDefFoundError in Minecraft environment startup.
  • Loading branch information
Pieter12345 committed Mar 28, 2024
1 parent 188bad0 commit 4d46b1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@
</dependency>
<dependency>
<groupId>com.squareup.okio</groupId>
<artifactId>okio</artifactId>
<artifactId>okio-jvm</artifactId>
<version>3.9.0</version>
</dependency>
<dependency>
Expand Down Expand Up @@ -582,7 +582,7 @@
<include>com.google.guava:guava:jar:*</include>
<!-- Swagger dependencies -->
<include>com.squareup.okhttp:okhttp:jar:*</include>
<include>com.squareup.okio:okio:jar:*</include>
<include>com.squareup.okio:okio-jvm:jar:*</include>
<include>org.threeten:threetenbp:jar:*</include>
<include>io.gsonfire:gson-fire:jar:*</include>
<include>com.squareup.okhttp:logging-interceptor:jar:*</include>
Expand Down Expand Up @@ -901,7 +901,7 @@
</excludes>
</filter>
<filter>
<artifact>com.squareup.okio:okio:jar:*</artifact>
<artifact>com.squareup.okio:okio-jvm:jar:*</artifact>
<includes>
<include>**</include>
</includes>
Expand Down

0 comments on commit 4d46b1b

Please sign in to comment.