Added Gradle dependency to README

This commit is contained in:
Florian CUNY 2019-07-29 23:11:57 +02:00
parent b8e4e2010d
commit ecca366fec
1 changed files with 12 additions and 1 deletions

View File

@ -89,7 +89,7 @@ Do not submit PRs that only address code formatting because they will not be acc
BentoBox uses Maven, and its Maven repository is kindly provided by [CodeMC](https://codemc.org).
### Maven dependency
### Maven
```xml
<repositories>
<repository>
@ -107,3 +107,14 @@ BentoBox uses Maven, and its Maven repository is kindly provided by [CodeMC](htt
</dependency>
</dependencies>
```
### Gradle
```groovy
repositories {
maven { url "https://repo.codemc.org/repository/maven-public/" }
}
dependencies {
compileOnly 'world.bentobox:bentobox:PUT-VERSION-HERE'
}
```