mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-22 18:46:53 +01:00
Updated API (markdown)
parent
266426961f
commit
2a53f09791
39
API.md
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>
|
||||
|
Loading…
Reference in New Issue
Block a user