Added import with gradle

Andre_601 2019-01-01 02:10:49 +01:00
parent 95d8cb176c
commit e9634072fd
1 changed files with 18 additions and 1 deletions

@ -12,7 +12,7 @@ Before you can actually make use of PlaceholderAPI, you first have to import it
### Import with Maven
To import PlaceholderAPI, simply add the following code to your **pom.xml**
Please replace `{VERSION}` with the above listed version!
Replace `{VERSION}` with the version listed at the top of this page.
```xml
<repositories>
<repository>
@ -30,6 +30,23 @@ Please replace `{VERSION}` with the above listed version!
</dependencies>
```
### Import with Gradle
Here is how you can import PlaceholderAPI through gradle.
Put this into your **Gradle.build**.
Replace `{VERSION}` with the version listed at the top of this page.
```build
repositories {
maven {
name = 'placeholderapi'
url = 'http://repo.extendedclip.com/content/repositories/placeholderapi/'
}
}
dependencies {
compile 'me.clip.placeholderapi:{VERSION}'
}
```
### Import manually
You have to import PlaceholderAPI manually, if you don't use maven.
The following example shows the manual import in Eclipse: