This is a library for EmpireProjekt.ru plugins
Still in WIP, see some
You can see how it being used in AstraTemplate - Velocity/Fabric/Bukkit Plugin Tempalte
Firstly, add a mavenCentral repository
repositories {
mavenCentral()
}
Next, add required repositories into dependencies { ... }
// core with basic kotlin-only dependencies
implementation("ru.astrainteractive.astralibs:core:<version>")
// core-bukkit dependencies
implementation("ru.astrainteractive.astralibs:core-bukkit:<version>")
// Spigot module which focused on GUI
implementation("ru.astrainteractive.astralibs:menu-bukkit:<version>")
// Exposed integration
implementation("ru.astrainteractive.astralibs:exposed:<version>")
// Multiplatform module with command
implementation("ru.astrainteractive.astralibs:command:<version>")
implementation("ru.astrainteractive.astralibs:command-bukkit:<version>")
// Or with version catalogs
implementation(libs.astralibs.core)
implementation(libs.astralibs.core.bukkit)
implementation(libs.astralibs.exposed)
implementation(libs.astralibs.menu.bukkit)
implementation(libs.astralibs.command)
implementation(libs.astralibs.command.bukkit)
Version catalogs
[versions]
astralibs = "<latest-version>"
[libraries]
astralibs-exposed = { module = "ru.astrainteractive.astralibs:exposed", version.ref = "astralibs" }
astralibs-core = { module = "ru.astrainteractive.astralibs:core", version.ref = "astralibs" }
astralibs-core-bukkit = { module = "ru.astrainteractive.astralibs:core-bukkit", version.ref = "astralibs" }
astralibs-menu-bukkit = { module = "ru.astrainteractive.astralibs:menu-bukkit", version.ref = "astralibs" }
astralibs-command = { module = "ru.astrainteractive.astralibs:command", version.ref = "astralibs" }
astralibs-command-bukkit = { module = "ru.astrainteractive.astralibs:command-bukkit", version.ref = "astralibs" }