Make sure to replace {version} with the latest version.
You need to add the dependency to your build.gradle.
repositories { maven { url ="https://repo.mattstudios.me/artifactory/public/" }}dependencies { implementation "dev.triumphteam:triumph-gui:{version}"// Replace version here }
In order to include the lib in your project, you need to add shadowJar plugin build.gradle.
Replace [YOUR PACKAGE]with your plugin's package, for example me.myplugin.plugin.
plugins { id "com.github.johnrengelman.shadow" version "7.0.0"}shadowJar { relocate("dev.triumphteam.gui", "[YOUR PACKAGE].gui")}
You need to add the dependency to your pom.xml.
<repositories>
<repository>
<id>repo</id>
<url>https://repo.mattstudios.me/artifactory/public/</url>
</repository>
</repositories>
<dependency>
<groupId>dev.triumphteam</groupId>
<artifactId>triumph-gui</artifactId>
<version>{version}</version> <!-- replace version here -->
</dependency>
In order to include the framework in your project, you need to add the following to your pom.xml, in the plugins section.
Replace [YOUR PACKAGE]with your plugin's package, for example me.myplugin.plugin.