Skip to content

Commit

Permalink
Relocated apache packages later
Browse files Browse the repository at this point in the history
Affects issues:
- Fixed #1598
  • Loading branch information
AuroraLS3 committed Oct 12, 2020
1 parent 006b74e commit eedd432
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Plan/common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ shadowJar {
exclude "**/module-info.class"
exclude 'META-INF/versions/' // Causes Sponge to crash

relocate('org.apache', 'plan.org.apache') {
exclude 'org/apache/logging/**'
}

relocate 'com.maxmind', 'plan.com.maxmind'
relocate 'com.fasterxml', 'plan.com.fasterxml'
relocate 'com.zaxxer', 'plan.com.zaxxer'
Expand Down
3 changes: 3 additions & 0 deletions Plan/plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ dependencies {
shadowJar {
configurations = [project.configurations.compile]

relocate('org.apache', 'plan.org.apache') {
exclude 'org/apache/logging/**'
}
relocate 'dagger', 'plan.dagger'
relocate 'com.mysql.jdbc', 'plan.com.mysql.jdbc'
relocate 'com.mysql.cj', 'plan.com.mysql.cj'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
*/
package com.djrapitops.plan.commands.use;

import org.apache.commons.text.TextStringBuilder;
import org.spongepowered.api.text.Text;
import org.spongepowered.api.text.action.TextActions;
import plan.org.apache.commons.text.TextStringBuilder;

import java.net.MalformedURLException;
import java.net.URL;
Expand Down

0 comments on commit eedd432

Please sign in to comment.