Updated Developer Documentation (markdown)

NotMyFault 2020-02-14 16:51:18 +01:00
parent 15e8cd8a23
commit 470ec4df18

@ -10,7 +10,7 @@
[Nukkit Maven](https://github.com/IntellectualSites/PlotSquared/wiki/Developer-Documentation#nukkit-maven)<br> [Nukkit Maven](https://github.com/IntellectualSites/PlotSquared/wiki/Developer-Documentation#nukkit-maven)<br>
[Nukkit Gradle](https://github.com/IntellectualSites/PlotSquared/wiki/Developer-Documentation#nukkit-gradle) [Nukkit Gradle](https://github.com/IntellectualSites/PlotSquared/wiki/Developer-Documentation#nukkit-gradle)
## Bukkit: Maven 1.8 - 1.12.2 ## Bukkit: Maven 1.8 - 1.12.2
If you need to access the bukkit module of PlotSquared, you need to add `plotsquared-bukkitapi` as `<artifactId>` If you need to access the bukkit module of PlotSquared, you need to add `plotsquared-bukkitapi` as `<artifactId>` and declare it as non-transitive.
```xml ```xml
<!-- PlotSquared legacy repository --> <!-- PlotSquared legacy repository -->
<repository> <repository>
@ -31,7 +31,7 @@ If you need to access the bukkit module of PlotSquared, you need to add `plotsqu
</dependency> </dependency>
``` ```
## Bukkit: Gradle 1.8 - 1.12.2 ## Bukkit: Gradle 1.8 - 1.12.2
If you need to access the bukkit module of PlotSquared, you need to add `plotsquared-bukkitapi` into the `dependencies` block If you need to access the bukkit module of PlotSquared, you need to add `plotsquared-bukkitapi` into the `dependencies` block and declare it as non-transitive.
```gradle ```gradle
// PlotSquared legacy repository // PlotSquared legacy repository
repositories { repositories {
@ -46,7 +46,7 @@ You can compile PlotSquared legacy with Gradle, which is included with this repo
$ `gradlew setupDecompWorkspace` - is only needed if you want to work with Forge $ `gradlew setupDecompWorkspace` - is only needed if you want to work with Forge
$ `gradlew build` OR `gradle :Bukkit:build` $ `gradlew build` OR `gradle :Bukkit:build`
## Bukkit: Maven 1.13+ ## Bukkit: Maven 1.13+
If you need to access the bukkit module of PlotSquared, you need to add `PlotSquared-BukkitAPI` as `<artifactId>` If you need to access the bukkit module of PlotSquared, you need to add `PlotSquared-BukkitAPI` as `<artifactId>` and declare it as non-transitive.
```xml ```xml
<!-- PlotSquared repository --> <!-- PlotSquared repository -->
<repository> <repository>
@ -72,7 +72,7 @@ If you need to access the bukkit module of PlotSquared, you need to add `PlotSqu
</dependency> </dependency>
``` ```
## Bukkit: Gradle 1.13+ ## Bukkit: Gradle 1.13+
If you need to access the bukkit module of PlotSquared, you need to add `PlotSquared-BukkitAPI` into the `dependencies` block If you need to access the bukkit module of PlotSquared, you need to add `PlotSquared-BukkitAPI` into the `dependencies` block and declare it as non-transitive.
```gradle ```gradle
// PlotSquared repository // PlotSquared repository
repositories { repositories {