1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-04 23:37:49 +01:00

Update readme with gradle build information #932

This commit is contained in:
montlikadani 2020-10-01 08:52:21 +02:00 committed by GitHub
commit 0efedc0124
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,8 @@ Main pages:
- Spigot: https://www.spigotmc.org/resources/4216/
# Jobs API
You can manually add the jar file to your build path or you can use jitpack if you use maven (don't know gradle):
You can manually add the jar file to your build path or you can use jitpack if you use maven or gradle:
## Maven:
```xml
<repositories>
<repository>
@ -36,5 +37,16 @@ You can manually add the jar file to your build path or you can use jitpack if y
</dependency>
</dependencies>
```
## Gradle:
```gradle
repositories {
maven {
url 'https://jitpack.io'
}
}
dependencies {
implementation 'com.github.Zrips:Jobs:LATEST' //Change the LATEST to the current version of jobs
}
```
For API events: https://github.com/Zrips/Jobs/wiki/API