Skip to content

Commit

Permalink
Do not relocate google code from sponge
Browse files Browse the repository at this point in the history
Fixes an issue where our shaded google code collided with Sponge,
causing mass sadness. Caused due to b745236
  • Loading branch information
Ichbinjoe committed Apr 27, 2019
1 parent 5d79706 commit 7d43b73
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion universal/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import com.github.jengelman.gradle.plugins.shadow.relocation.SimpleRelocator

import java.nio.file.FileAlreadyExistsException
import java.nio.file.Files
import java.nio.file.Paths
Expand Down Expand Up @@ -26,7 +28,7 @@ shadowJar {
classifier = null
relocate "io.netty", "com.vexsoftware.votifier.netty"
relocate "org.json", "com.vexsoftware.votifier.json"
relocate "com.google.code", "com.vexsoftware.votifier.google.code"
relocate new SimpleRelocator("com.google.code", "com.vexsoftware.votifier.google.code", new ArrayList<String>(), Collections.singletonList("com.vexsoftware.votifier.sponge"))
relocate "com.google.common", "com.vexsoftware.votifier.google.common"
relocate "com.google.guava", "com.vexsoftware.votifier.google.guava"
relocate "org.apache.commons.io", "com.vexsoftware.votifier.commons.io"
Expand Down

0 comments on commit 7d43b73

Please sign in to comment.