- new patchbukkit-test-plugin gradle subproject with 69 tests across 10 categories (server, plugin_manager, command_system, event_system, permissions, registry, entity, console_sender, unsafe_values, stubs) - test framework with reflection-based discovery, ansi-colored output, and ci-parseable [PBTEST_SUMMARY] line - /pbtest [category|all] command for manual test execution - fix .unwrap() panic in command_manager.rs register_permission that crashed the jvm worker thread when plugins declared commands
28 lines
460 B
Plaintext
28 lines
460 B
Plaintext
plugins {
|
|
java
|
|
}
|
|
|
|
repositories {
|
|
maven {
|
|
name = "papermc"
|
|
url = uri("https://repo.papermc.io/repository/maven-public/")
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly("io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT")
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(25)
|
|
}
|
|
}
|
|
|
|
tasks.withType<JavaCompile> {
|
|
options.compilerArgs.addAll(listOf(
|
|
"-Xlint:-removal",
|
|
"-Xlint:-deprecation"
|
|
))
|
|
}
|