Files
hamster-core/core-bukkit/build.gradle.kts
2023-10-12 14:51:42 +08:00

39 lines
1.1 KiB
Plaintext

evaluationDependsOn(":core-common")
dependencies {
api(project(":core-common")) { isTransitive = false }
compileOnly("org.spigotmc:spigot-api:+")
implementation("de.tr7zw:item-nbt-api:+")
compileOnly("net.milkbowl.vault:VaultAPI:+") { isTransitive = false }
compileOnly("org.black_ixx:playerpoints:+") { isTransitive = false }
// https://mvnrepository.com/artifact/net.kyori/adventure-platform-bungeecord
api("net.kyori:adventure-platform-bukkit:4+") {
exclude(group = "org.jetbrains")
exclude(group = "com.google.code.gson")
}
// https://mvnrepository.com/artifact/net.kyori/adventure-text-minimessage
api("net.kyori:adventure-text-minimessage:4+") {
exclude(module = "adventure-api")
exclude(group = "org.jetbrains")
}
implementation("com.zaxxer:HikariCP:4+") {
exclude(group = "org.slf4j")
}
}
tasks {
processResources {
filesMatching("plugin.yml") {
expand(project.properties)
}
}
withType<Jar> {
archiveBaseName = "HamsterCore-Bukkit"
}
shadowJar {
destinationDirectory = rootProject.buildDir
}
}