Updated API (markdown)

NotMyFault 2019-03-27 22:17:49 +01:00
parent 266426961f
commit 2a53f09791

39
API.md

@ -8,6 +8,8 @@ That said, the FAWE API offers additional functionality not already available in
# Dependency
## 1.12.2 and below (legacy)
**Repository**: ``http://ci.athion.net/job/FastAsyncWorldEdit/ws/mvn/``
**Dependency**: ``com.boydti:fawe-api:<version>`` or ``com.boydti:fawe-api:latest``
@ -31,12 +33,47 @@ dependencies {
```
## Maven
```xml
<!-- FAWE repository -->
<!-- FAWE legacy repository -->
<repository>
<id>fawe-repo</id>
<url>http://ci.athion.net/job/FastAsyncWorldEdit/ws/mvn/</url>
</repository>
<!-- FAWE legacy API -->
<dependency>
<groupId>com.boydti</groupId>
<artifactId>fawe-api</artifactId>
<version>latest</version>
</dependency>
```
## 1.13 and higher
## Gradle
```gradle
// Add our custom repository URL
repositories {
// ...
maven {
url 'https://ci.athion.net/job/FAWE-1.13/ws/mvn'
}
}
// Add us to your dependencies
dependencies {
// ...
compile 'com.boydti:fawe-api:latest'
}
```
## Maven
```xml
<!-- FAWE repository -->
<repository>
<id>fawe-repo</id>
<url>https://ci.athion.net/job/FAWE-1.13/ws/mvn</url>
</repository>
<!-- FAWE API -->
<dependency>
<groupId>com.boydti</groupId>