-
Notifications
You must be signed in to change notification settings - Fork 1
Getting started
Roman Makeev edited this page Jan 30, 2023
·
4 revisions
Currently I still did not resolved nexus publishing, so it's only avaliable on Github Packages
To add AstraLibs into your module you will need to add repository:
repositories {
mavenCentral()
}This will allow you to use non-spigot utilities
implementation("ru.astrainteractive.astralibs:ktx-core:<version>")This will allow you to use spigot utilities
implementation("ru.astrainteractive.astralibs:spigot-core:<version>")class MyPlugin: JavaPlugin(){
override fun onEnable(){
AstraLibs.rememberPlugin(this)
Logger.setupWithSpigot("AstraLibsShowcase",this)
}
}That's it! Now you can use AstraLibs