-
Notifications
You must be signed in to change notification settings - Fork 5
Using the API
Michal Hutira edited this page Aug 17, 2021
·
14 revisions
Add the following code to your build.gradle:
repositories {
maven {
url 'https://jitpack.io'
}
}
dependencies {
compile 'com.github.Enginecrafter77:SurvivalInc:<version>'
}Version can either be normal tag (e.g. v1.1.5), OR you can use "master-SNAPSHOT" to get the latest available snapshot. You can also use short commit IDs as version.
For available version substitutes, see SurvivalInc JitPack page.
EDIT: Some versions are known to have broken build scripts. Unfortunately, there is nothing I can do about those past versions without wreaking havoc on the whole repository. As such, here is the list of known broken versions (aka versions which you SHOULDN'T use)
- 1.2.7