feat: NickCore v1.0.0 - enterprise nickname plugin for Paper/Folia/Velocity

This commit is contained in:
2026-05-30 21:05:02 -05:00
parent 8a42740875
commit f0b35e89ac
54 changed files with 5393 additions and 0 deletions

49
build.gradle.kts Normal file
View File

@@ -0,0 +1,49 @@
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
}
}
subprojects {
apply(plugin = "java")
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(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")
}
}