Apparently we can also relocate bstats on sponge now

This commit is contained in:
Blue (Lukas Rieger) 2021-05-16 22:20:48 +02:00
parent 19dcb38617
commit 113d7f3feb
No known key found for this signature in database
GPG Key ID: 904C4995F9E1F800
3 changed files with 2 additions and 1 deletions

View File

@ -25,6 +25,7 @@ build.dependsOn shadowJar {
relocate 'com.google.errorprone', 'de.bluecolored.shadow.google.errorprone' relocate 'com.google.errorprone', 'de.bluecolored.shadow.google.errorprone'
relocate 'org.spongepowered.configurate', 'de.bluecolored.shadow.configurate' relocate 'org.spongepowered.configurate', 'de.bluecolored.shadow.configurate'
relocate 'org.aopalliance', 'de.bluecolored.shadow.aopalliance' relocate 'org.aopalliance', 'de.bluecolored.shadow.aopalliance'
relocate 'org.bstats', 'de.bluecolored.shadow.bstats'
relocate 'com.typesafe.config', 'de.bluecolored.shadow.typesafe.config' relocate 'com.typesafe.config', 'de.bluecolored.shadow.typesafe.config'
relocate 'org.checkerframework', 'de.bluecolored.shadow.checkerframework' relocate 'org.checkerframework', 'de.bluecolored.shadow.checkerframework'
relocate 'org.codehaus', 'de.bluecolored.shadow.codehaus' relocate 'org.codehaus', 'de.bluecolored.shadow.codehaus'

View File

@ -25,6 +25,7 @@ build.dependsOn shadowJar {
relocate 'com.google.errorprone', 'de.bluecolored.shadow.google.errorprone' relocate 'com.google.errorprone', 'de.bluecolored.shadow.google.errorprone'
relocate 'org.spongepowered.configurate', 'de.bluecolored.shadow.configurate' relocate 'org.spongepowered.configurate', 'de.bluecolored.shadow.configurate'
relocate 'org.aopalliance', 'de.bluecolored.shadow.aopalliance' relocate 'org.aopalliance', 'de.bluecolored.shadow.aopalliance'
relocate 'org.bstats', 'de.bluecolored.shadow.bstats'
relocate 'com.typesafe.config', 'de.bluecolored.shadow.typesafe.config' relocate 'com.typesafe.config', 'de.bluecolored.shadow.typesafe.config'
relocate 'org.checkerframework', 'de.bluecolored.shadow.checkerframework' relocate 'org.checkerframework', 'de.bluecolored.shadow.checkerframework'
relocate 'org.codehaus', 'de.bluecolored.shadow.codehaus' relocate 'org.codehaus', 'de.bluecolored.shadow.codehaus'

View File

@ -38,7 +38,6 @@
import de.bluecolored.bluemap.sponge8.SpongeCommands.SpongeCommandProxy; import de.bluecolored.bluemap.sponge8.SpongeCommands.SpongeCommandProxy;
import net.querz.nbt.CompoundTag; import net.querz.nbt.CompoundTag;
import net.querz.nbt.NBTUtil; import net.querz.nbt.NBTUtil;
import org.bstats.sponge.Metrics;
import org.spongepowered.api.Platform; import org.spongepowered.api.Platform;
import org.spongepowered.api.Server; import org.spongepowered.api.Server;
import org.spongepowered.api.Sponge; import org.spongepowered.api.Sponge;