- Git installed
- Gradle installed
- Java 8, for the 1.8.8 - 1.16.5 Minecraft versions, Java 16 for 1.17 and Java 17 for 1.18
- 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
- Clone the repository
- Enter the directory
- Run
gradle shadowJar
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]