Skip to content

Commit

Permalink
Prevent shading of commons-lang3 (#798)
Browse files Browse the repository at this point in the history
commons-lang3 is always provided at runtime,
don't shade it to prevent incompatibilities.

Closes #617, #616
  • Loading branch information
fionera authored May 3, 2024
1 parent fcae3be commit 682a6e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ shadowJar {
duplicatesStrategy DuplicatesStrategy.EXCLUDE // Ignore duplicate valkyrienskies-common.accesswidener files
dependencies {
exclude(dependency("org.jetbrains.kotlin:.*:.*")) // Don't shade kotlin!
exclude(dependency("org.apache.commons:commons-lang3:.*")) // Don't apache-commons, see #617
}
// Exclude dummy Optifine classes
exclude "net/optifine/**"
Expand Down

0 comments on commit 682a6e8

Please sign in to comment.