2023-07-30 16:00:37 +02:00
|
|
|
plugins {
|
2023-07-30 17:04:46 +02:00
|
|
|
id("lighteco.platform-logic")
|
2023-07-30 16:00:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
2023-08-27 23:23:42 +02:00
|
|
|
maven("https://repo.extendedclip.com/content/repositories/placeholderapi")
|
2023-08-30 10:32:53 +02:00
|
|
|
|
2024-07-16 18:04:37 +02:00
|
|
|
maven("https://repo.papermc.io/repository/maven-public/")
|
2023-08-30 10:32:53 +02:00
|
|
|
maven("https://oss.sonatype.org/content/repositories/snapshots")
|
|
|
|
maven("https://oss.sonatype.org/content/repositories/central")
|
2023-07-30 16:00:37 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2023-07-30 21:25:07 +02:00
|
|
|
implementation(project(":lighteco-common"))
|
|
|
|
|
2023-08-26 16:45:04 +02:00
|
|
|
implementation("net.kyori:adventure-platform-bukkit:4.2.0")
|
2023-08-26 11:57:08 +02:00
|
|
|
|
2024-07-16 18:04:37 +02:00
|
|
|
compileOnly("io.papermc.paper:paper-api:1.19.1-R0.1-SNAPSHOT")
|
|
|
|
compileOnly("io.papermc.paper:paper-mojangapi:1.19.1-R0.1-SNAPSHOT")
|
2023-07-30 21:25:07 +02:00
|
|
|
|
2023-08-27 23:23:42 +02:00
|
|
|
// PlaceholderAPI
|
|
|
|
compileOnly("me.clip:placeholderapi:2.11.3")
|
|
|
|
|
2023-07-30 21:25:07 +02:00
|
|
|
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-26 11:57:08 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.shadowJar {
|
2024-07-16 18:04:37 +02:00
|
|
|
dependencies {
|
|
|
|
exclude(dependency("com.mojang:brigadier"))
|
|
|
|
}
|
2023-08-28 11:24:05 +02:00
|
|
|
|
|
|
|
// 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")
|
|
|
|
|
2023-08-30 09:53:50 +02:00
|
|
|
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-07-30 16:00:37 +02:00
|
|
|
}
|