mirror of
https://github.com/MilkBowl/VaultAPI.git
synced 2025-02-11 01:21:25 +01:00
Updated readme with gradle example
This commit is contained in:
parent
c8cb88f27a
commit
eb70b07d4b
14
README.md
14
README.md
@ -1,7 +1,7 @@
|
||||
# VaultAPI - Abstraction Library API for Bukkit Plugins - [![](https://travis-ci.org/MilkBowl/VaultAPI.svg?branch=master)](https://travis-ci.org/MilkBowl/VaultAPI)
|
||||
|
||||
How to include the API with Maven:
|
||||
```
|
||||
```xml
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>vault-repo</id>
|
||||
@ -17,6 +17,18 @@ How to include the API with Maven:
|
||||
</dependency>
|
||||
</dependencies>
|
||||
```
|
||||
How to include the API with Gradle:
|
||||
```groovy
|
||||
repositories {
|
||||
maven {
|
||||
url "http://nexus.hc.to/content/repositories/pub_releases"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly "net.milkbowl.vault:VaultAPI:1.7"
|
||||
}
|
||||
```
|
||||
|
||||
**Note**: The VaultAPI version has 2 numbers (major.minor), unlike Vault, which has 3. The 2 numbers in the VaultAPI will always correspond to the 2 beginning numbers in a Vault version to make it clear what versions your plugin will for sure work with.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user