mirror of
https://github.com/xHyroM/lighteco.git
synced 2024-11-10 01:18:07 +01:00
47 lines
No EOL
1.7 KiB
Text
47 lines
No EOL
1.7 KiB
Text
plugins {
|
|
id("lighteco.platform-logic")
|
|
}
|
|
|
|
repositories {
|
|
maven("https://repo.extendedclip.com/content/repositories/placeholderapi")
|
|
|
|
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
|
|
maven("https://oss.sonatype.org/content/repositories/snapshots")
|
|
maven("https://oss.sonatype.org/content/repositories/central")
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":lighteco-common"))
|
|
|
|
implementation("dev.jorel:commandapi-bukkit-shade:9.1.0")
|
|
implementation("net.kyori:adventure-platform-bukkit:4.2.0")
|
|
|
|
compileOnly("org.spigotmc:spigot-api:1.16.5-R0.1-SNAPSHOT")
|
|
|
|
// PlaceholderAPI
|
|
compileOnly("me.clip:placeholderapi:2.11.3")
|
|
|
|
compileOnly("org.projectlombok:lombok:1.18.28")
|
|
annotationProcessor("org.projectlombok:lombok:1.18.28")
|
|
|
|
compileOnly("org.checkerframework:checker-qual:3.8.0")
|
|
compileOnly("org.jetbrains:annotations:20.1.0")
|
|
}
|
|
|
|
tasks.shadowJar {
|
|
relocate("dev.jorel.commandapi", "dev.xhyrom.lighteco.libraries.commandapi")
|
|
|
|
// common
|
|
relocate("eu.okaeri.configs", "dev.xhyrom.lighteco.libraries.okaeri.configs")
|
|
relocate("eu.okaeri.validator", "dev.xhyrom.lighteco.libraries.okaeri.validator")
|
|
|
|
//relocate("net.kyori.adventure", "dev.xhyrom.lighteco.libraries.net.kyori.adventure")
|
|
//relocate("net.kyori.examination", "dev.xhyrom.lighteco.libraries.net.kyori.examination")
|
|
|
|
relocate("org.yaml.snakeyaml", "dev.xhyrom.lighteco.libraries.org.yaml.snakeyaml")
|
|
|
|
relocate("org.mariadb.jdbc", "dev.xhyrom.lighteco.libraries.mariadb")
|
|
relocate("com.mysql", "dev.xhyrom.lighteco.libraries.mysql")
|
|
relocate("org.postgresql", "dev.xhyrom.lighteco.libraries.postgresql")
|
|
relocate("com.zaxxer.hikari", "dev.xhyrom.lighteco.libraries.hikari")
|
|
} |