From c5a07ad83bde477829ec7032d4b06ed237abccea Mon Sep 17 00:00:00 2001 From: Ryder Belserion Date: Sat, 4 Mar 2023 23:02:25 -0500 Subject: [PATCH] (gradle) add triumph cmds to class loader --- platforms/paper/build.gradle.kts | 2 +- .../us/crazycrew/crazyauctions/loader/AuctionsLoader.java | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/platforms/paper/build.gradle.kts b/platforms/paper/build.gradle.kts index b6c2211..666c8b7 100644 --- a/platforms/paper/build.gradle.kts +++ b/platforms/paper/build.gradle.kts @@ -21,7 +21,7 @@ dependencies { compileOnly(libs.crazycore.paper) compileOnly(libs.triumph.gui) -// implementation(libs.triumph.cmds) + compileOnly(libs.triumph.cmds) compileOnly(libs.config.me) diff --git a/platforms/paper/src/main/java/us/crazycrew/crazyauctions/loader/AuctionsLoader.java b/platforms/paper/src/main/java/us/crazycrew/crazyauctions/loader/AuctionsLoader.java index 83cdfd8..9ba08c7 100644 --- a/platforms/paper/src/main/java/us/crazycrew/crazyauctions/loader/AuctionsLoader.java +++ b/platforms/paper/src/main/java/us/crazycrew/crazyauctions/loader/AuctionsLoader.java @@ -31,6 +31,10 @@ public class AuctionsLoader implements PluginLoader { resolver.addDependency(new Dependency(new DefaultArtifact("ch.jalu:configme:1.3.0"), null)); resolver.addDependency(new Dependency(new DefaultArtifact("me.carleslc.Simple-YAML:Simple-Yaml:1.8.3"), null)); + // TriumphTeam + resolver.addDependency(new Dependency(new DefaultArtifact("dev.triumphteam:triumph-gui:3.1.2"), null)); + resolver.addDependency(new Dependency(new DefaultArtifact("dev.triumphteam:triumph-cmd-bukkit:2.0.0-SNAPSHOT"), null)); + resolver.addRepository(new RemoteRepository.Builder("maven2", "default", "https://repo1.maven.org/maven2").build()); resolver.addRepository(new RemoteRepository.Builder("crazycrew-libraries", "default", "https://repo.crazycrew.us/libraries").build()); resolver.addRepository(new RemoteRepository.Builder("jitpack", "default", "https://jitpack.io").build());