Skip to content

A simple library to help in Spigot plugins development for Java

Notifications You must be signed in to change notification settings

WizardlyBump17/WLib

Repository files navigation

WLib

wakatime


Build yourself

Pre-requisites

  1. Git installed
  2. Gradle installed
  3. Java 8, for the 1.8.8 - 1.16.5 Minecraft versions, Java 16 for 1.17 and Java 17 for 1.18
  4. BuildTools run for the versions: 1.8.8, 1.12.2, 1.13.2, 1.15.2, 1.16.5, 1.17.1 and 1.18

Building

  1. Clone the repository
  2. Enter the directory
  3. Run gradle shadowJar

Add as dependency

Follow the Gradle instructions or the Maven instructions
(Soon I will show how to do it)

Then add the dependency. Replace MODULE with a module and VERSION with a version
Maven:

<dependencies>
    <dependency>
        <groupId>com.wizardlybump17.wlib</groupId>
        <artifactId>MODULE</artifactId>
        <version>VERSION</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

Gradle:

dependencies {
    implementation('com.wizardlybump17.wlib:MODULE:VERSION')
}

To add it into your plugin, add the following at your plugin.yml

softdepend: [WLib]