Skip to content

Commit

Permalink
Remove unnecessary libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
Archy-X committed Jun 15, 2024
1 parent 0a31261 commit f6fe915
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 7 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ repositories {

dependencies {
implementation("net.objecthunter:exp4j:0.4.8")
implementation("com.github.Osiris-Team:Dream-Yaml:6.9")
implementation("com.github.Archy-X:Polyglot:d6debe617a")
implementation("com.github.Archy-X:Polyglot:1.2.1") {
exclude("org.yaml", "snakeyaml")
}
implementation("co.aikar:acf-paper:0.5.1-SNAPSHOT")
implementation("org.bstats:bstats-bukkit:3.0.2")
compileOnly("dev.aurelium:auraskills-api-bukkit:2.1.2")
Expand All @@ -38,6 +39,10 @@ tasks.withType<ShadowJar> {
relocate("co.aikar.locales", "dev.aurelium.auramobs.locales")
relocate("com.archyx.polyglot", "dev.aurelium.auramobs.polyglot")
relocate("org.bstats", "dev.aurelium.auramobs.bstats")
relocate("net.kyori", "dev.aurelium.auramobs.kyori")
relocate("net.objecthunter.exp4j", "dev.aurelium.auramobs.exp4j")
relocate("org.spongepowered.configurate", "dev.aurelium.auramobs.configurate")
relocate("io.leangen.geantyref", "dev.aurelium.auramobs.geantyref")
}

java.sourceCompatibility = JavaVersion.VERSION_17
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import co.aikar.commands.annotation.CommandPermission;
import co.aikar.commands.annotation.Subcommand;
import dev.aurelium.auramobs.AuraMobs;
import dev.aurelium.auramobs.util.ColorUtils;
import org.bukkit.command.CommandSender;

import java.util.Locale;
Expand All @@ -25,7 +26,7 @@ public void onReload(CommandSender sender) {
plugin.getConfigManager().loadConfig();
plugin.getPolyglot().getMessageManager().loadMessages();
plugin.setLanguage(new Locale(plugin.optionString("language")));
sender.sendMessage(plugin.getMsg("commands.reload"));
sender.sendMessage(ColorUtils.colorMessage(plugin.getMsg("commands.reload")));
}


Expand Down

0 comments on commit f6fe915

Please sign in to comment.