Files
Hiderank-system/build.gradle.kts
BaileyCodes b7bc25e168 feat: integrate Atlantis Disguises API for packet-level nick/skin support
- Added net.atlantismc.disguises:api:1.0 as compileOnly dependency
- Created AtlantisDisguiseIntegration bridge class
- NameOverrideService now delegates to Atlantis when available
- Falls back to built-in Bukkit display name overrides if absent
- Added AtlantisDisguises to plugin.yml softdepend
2026-06-01 13:22:48 -05:00

50 lines
1.4 KiB
Kotlin

plugins {
java
id("com.gradleup.shadow") version "9.4.1" apply false
}
val projectVersion: String by project
val projectGroup: String by project
val javaVersion: String by project
allprojects {
group = projectGroup
version = projectVersion
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://repo.extendedclip.com/releases/") // PlaceholderAPI
maven("https://repo.selixe.com/repository/api/") // Atlantis Disguises
}
}
subprojects {
apply(plugin = "java")
java {
sourceCompatibility = JavaVersion.toVersion(javaVersion.toInt())
targetCompatibility = JavaVersion.toVersion(javaVersion.toInt())
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
options.release.set(javaVersion.toInt())
}
tasks.withType<Test> {
useJUnitPlatform()
}
dependencies {
val junitVersion: String by project
val mockitoVersion: String by project
testImplementation("org.junit.jupiter:junit-jupiter-api:$junitVersion")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:$junitVersion")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation("org.mockito:mockito-core:$mockitoVersion")
testImplementation("org.mockito:mockito-junit-jupiter:$mockitoVersion")
}
}