-
Notifications
You must be signed in to change notification settings - Fork 1
Getting started
Roman Makeev edited this page Nov 20, 2022
·
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 MuPlugin: JavaPlugin(){
override fun onEnable(){
AstraLibs.rememberPlugin(this)
Logger.prefix = "AstraTemplate
}
}That's it! Now you can use AstraLibs