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 Gradle](https://github.com/IntellectualSites/PlotSquared/wiki/Developer-Documentation#nukkit-gradle)
## 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
<!-- PlotSquared legacy repository -->
<repository>
@ -31,7 +31,7 @@ If you need to access the bukkit module of PlotSquared, you need to add `plotsqu
</dependency>
```
## 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
// PlotSquared legacy repository
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 build` OR `gradle :Bukkit:build`
## 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
<!-- PlotSquared repository -->
<repository>
@ -72,7 +72,7 @@ If you need to access the bukkit module of PlotSquared, you need to add `PlotSqu
</dependency>
```
## 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
// PlotSquared repository
repositories {