diff --git a/README.md b/README.md index 8477871..aeb50ea 100644 --- a/README.md +++ b/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 vault-repo @@ -17,6 +17,18 @@ How to include the API with Maven: ``` +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.