2023-08-30 15:26:50 +02:00
|
|
|
plugins {
|
2023-08-30 16:03:38 +02:00
|
|
|
id("lighteco.platform-logic")
|
2023-08-30 15:26:50 +02:00
|
|
|
}
|
|
|
|
|
2023-08-30 16:03:38 +02:00
|
|
|
dependencies {
|
|
|
|
implementation(project(":lighteco-common"))
|
2023-08-30 15:26:50 +02:00
|
|
|
|
2023-08-30 16:03:38 +02:00
|
|
|
compileOnly("org.spongepowered:spongeapi:8.0.0")
|
2023-08-30 15:26:50 +02:00
|
|
|
|
2023-08-30 16:03:38 +02:00
|
|
|
//implementation("dev.jorel:commandapi-sponge-shade:9.1.0")
|
|
|
|
|
|
|
|
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")
|
2023-08-30 15:26:50 +02:00
|
|
|
}
|
|
|
|
|
2023-08-30 16:03:38 +02:00
|
|
|
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("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")
|
2023-08-30 15:26:50 +02:00
|
|
|
}
|