Section 01 / Build Configuration
Adding UlisesLib to Project Dependencies
UlisesLib.jar is distributed from your dashboard, not a public package registry. Once downloaded, add it as a local dependency and bundle it into your plugin's final jar so it's present at runtime on the server.
Gradle DSL (build.gradle)
build.gradle
Groovy
plugins { id 'com.github.johnrengelman.shadow' version '8.1.1'} dependencies { implementation files('libs/UlisesLib.jar')}Maven POM (pom.xml)
pom.xml
XML
<dependency> <groupId>pro.ulises.licenses</groupId> <artifactId>ulises-lib</artifactId> <version>2.0</version> <scope>system</scope> <systemPath>${project.basedir}/libs/UlisesLib.jar</systemPath></dependency>NOTICE: Shade and Relocate Bytecode into Binary Artifact
Place the jar in your project's libs/ folder first. Bundling it with the Shadow plugin (Gradle) or maven-shade-plugin (Maven) packages UlisesLib into your compiled plugin jar, since PaperMC won't resolve it from the server's classpath otherwise.
Built by Ulises - Citymoon Dynamics