Files
TAB-OG/shared/build.gradle.kts
NotAlexNoyleandClaude Fable 5 68d0cdcbe7 TrueOG Network fork of TAB
Soft fork of upstream TAB at 93cfd74, versioned 5.9.9 for Purpur 1.19.4
serving 1.8-1.21.11 clients through ViaVersion/ViaBackwards/ViaRewind.

- Build only Bukkit v1_19_R3, BungeeCord, and Velocity; drop Fabric,
  Forge, NeoForge, and unused NMS modules
- LuckPerms 5.5 (Vault removed), GraalVM JDK 17, one shaded JAR
- Vanish-OG and AFK-OG compatibility, legacy scoreboard team colors,
  disabled scoreboard number formats
- Legacy (1.8-1.12.2) floating nametags: rank brackets dropped, AFK
  badge bolded everywhere, bold rank kept only when the whole tag can
  render bold (legacy width calc counts post-paragraph-l glyphs as bold
  and never receives paragraph-r, else phantom pixels pad the tag end);
  needs ViaBackwards add-teamcolor-to-prefix: false
- Ship live TrueOG Network config values

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N82WDRsXtPi7iRxx1wypXW
2026-07-12 17:58:53 -04:00

62 lines
2.3 KiB
Kotlin

plugins {
id("net.kyori.blossom") version "2.1.0"
}
dependencies {
api(projects.api)
api("org.yaml:snakeyaml:2.0")
api("com.github.NEZNAMY:yamlassist:1.0.8")
api("com.googlecode.json-simple:json-simple:1.1.1") {
exclude("junit", "junit")
}
api("net.kyori:event-method:3.0.0") {
exclude("com.google.guava", "guava")
exclude("org.checkerframework", "checker-qual")
}
api("com.mysql:mysql-connector-j:9.6.0")
compileOnlyApi("com.viaversion:viaversion-api:5.2.1")
compileOnlyApi("io.netty:netty-all:4.1.90.Final")
compileOnlyApi("net.luckperms:api:5.5") // Import LuckPerms API.
compileOnlyApi("com.google.guava:guava:31.1-jre")
compileOnlyApi("org.geysermc.floodgate:api:2.2.0-SNAPSHOT")
compileOnlyApi("net.kyori:adventure-api:4.25.0-SNAPSHOT")
compileOnlyApi("net.kyori:adventure-text-minimessage:4.25.0-SNAPSHOT")
implementation("com.saicone.delivery4j:delivery4j:1.1.1")
implementation("com.saicone.delivery4j:broker-rabbitmq:1.1.1") {
exclude("org.slf4j", "slf4j-api")
}
implementation("com.saicone.delivery4j:broker-redis:1.1.1") {
exclude("com.google.code.gson", "gson")
exclude("org.slf4j", "slf4j-api")
}
implementation("com.saicone.delivery4j:extension-guava:1.1.1")
testImplementation(platform("org.junit:junit-bom:5.10.2"))
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
// Tests exercise pure legacy-nametag string helpers; give them the same compile-only deps the main
// source uses so classes load during test execution.
configurations {
testImplementation { extendsFrom(compileOnlyApi.get(), compileOnly.get()) }
}
tasks.test {
useJUnitPlatform()
}
sourceSets.main {
blossom {
javaSources {
property("name", rootProject.name)
property("id", rootProject.ext.get("id")!!.toString())
property("version", project.version.toString())
property("description", project.description)
property("website", rootProject.ext.get("website")!!.toString())
property("author", rootProject.ext.get("author")!!.toString())
property("credits", rootProject.ext.get("credits")!!.toString())
}
}
}