-
Notifications
You must be signed in to change notification settings - Fork 9
Dependency and repository information
See below for the dependency information for Maven and Gradle.
Add the following to the <repositories>
section of your pom.xml
file:
<repository>
<id>codemc-repo</id>
<url>https://repo.codemc.io/repository/maven-public/</url>
</repository>
Add the following dependency to the <dependencies>
section:
<dependency>
<groupId>nl.rutgerkok</groupId>
<artifactId>worldgeneratorapi</artifactId>
<version>1.0</version>
<scope>provided</scope> <!-- Important, otherwise WorldGeneratorApi will be placed in your JAR file if you're using maven-shade-plugin -->
</dependency>
Make sure to change the version of WorldGeneratorApi to the version you want. The latest release is currently .
You need to have both a repositories
and a dependencies
section. If you've already added Bukkit, those sections should both already be there.
Add the following to the repositories section:
maven {
url = "https://repo.codemc.io/repository/maven-public/"
}
Add the following to the dependencies section:
compile 'nl.rutgerkok:worldgeneratorapi:1.0'
Make sure to change the version of WorldGeneratorApi to the version you want. The latest release is currently .
In Eclipse, no build system is used by default. (Well, technically Eclipse is a build system too.) Add the WorldGeneratorApi.jar file to the build path, in the same way as you added Bukkit. When exporting your project, make sure that you don't include WorldGeneratorApi in your plugin.