A collection of libraries and methods to speed up the process of creating a spigot plugin.
Core_lib is not a standalone plugin, is a library and is designed to be a dependency to be attached to another plugin. To add it to your project, you can either take it from github packages, via maven or build it yourself.
You can download the latest jar shipped via packages (instead of building youself) and add the artifact to your project path.
You can use the artifacts hosted on Repsy to access the api.
repositories {
maven { url 'https://repo.repsy.io/mvn/divios/core_lib' }
}
dependencies {
compileOnly 'io.github.divios:core_lib:Tag'
}
Replace Tag
with a valid Core_lib version. Example 6.4.8
.
git clone https://github.com/divios/core_lib
cd core_lib
./gradlew build
Note: you need to run buildtools since the api uses mojand's Authlib library internally. If you are not familiar with this i strongly suggest to get the jar via releases and add to your project path.
After that you can find the jar in builds/lib/Core_lib.jar
. Take that jar and add it to your proyect classpath or instead publish it to your maven local.