diff --git a/API-Documentation.md b/API-Documentation.md index 5d65fb9..6be8a6f 100644 --- a/API-Documentation.md +++ b/API-Documentation.md @@ -4,6 +4,22 @@ JavaDocs are available via: https://plotsquared.com/docs/ +## Gradle +If you need to access the Bukkit module of PlotSquared, you need to add `PlotSquared-Bukkit` into the `dependencies` block and declare it as non-transitive. +```gradle +repositories { + maven { url = "https://maven.enginehub.org/repo/" } // WorldEdit + maven { url = "https://mvn.intellectualsites.com/content/groups/public/" } // PlotSquared +} + +// PlotSquared API +dependencies { + implementation("com.plotsquared:PlotSquared:5.1") +} +``` +You can compile PlotSquared with Gradle, which is included with this repository: +$ `gradlew build` + ## Maven If you need to access the Bukkit module of PlotSquared, you need to add `PlotSquared-Bukkit` as `` and declare it as non-transitive. @@ -27,23 +43,7 @@ You need to add the WorldEdit repository as well. PlotSquared 5.1 -``` - -## Gradle -If you need to access the Bukkit module of PlotSquared, you need to add `PlotSquared-Bukkit` into the `dependencies` block and declare it as non-transitive. -```gradle -repositories { - maven { url = "https://maven.enginehub.org/repo/" } // WorldEdit - maven { url = "https://mvn.intellectualsites.com/content/groups/public/" } // PlotSquared -} - -// PlotSquared API -dependencies { - implementation("com.plotsquared:PlotSquared:5.1") -} -``` -You can compile PlotSquared with Gradle, which is included with this repository: -$ `gradlew build` +``` ## Useful classes for PlotSquared [[PlotAPI|https://github.com/IntellectualSites/PlotSquared/blob/v5/Core/src/main/java/com/plotsquared/core/api/PlotAPI.java]]