update readme to point users to using jitpack repo

This commit is contained in:
Nick Minkler 2019-06-04 12:25:05 -07:00 committed by GitHub
parent 68f14eca20
commit af0353b1d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 10 deletions

View File

@ -3,30 +3,28 @@
How to include the API with Maven: How to include the API with Maven:
```xml ```xml
<repositories> <repositories>
<repository> <repository>
<id>vault-repo</id> <id>jitpack.io</id>
<url>http://nexus.hc.to/content/repositories/pub_releases</url> <url>https://jitpack.io</url>
</repository> </repository>
</repositories> </repositories>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>net.milkbowl.vault</groupId> <groupId>com.github.MilkBowl</groupId>
<artifactId>VaultAPI</artifactId> <artifactId>VaultAPI</artifactId>
<version>1.7</version> <version>1.7</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>
``` ```
How to include the API with Gradle: How to include the API with Gradle:
```groovy ```groovy
repositories { repositories {
maven { maven { url 'https://jitpack.io' }
url "http://nexus.hc.to/content/repositories/pub_releases"
}
} }
dependencies { dependencies {
compileOnly "net.milkbowl.vault:VaultAPI:1.7" compileOnly "com.github.MilkBowl:VaultAPI:1.7"
} }
``` ```