From e58a1f5f3b2652f898d5bfbe0f7f198ddd255f97 Mon Sep 17 00:00:00 2001 From: loki Date: Thu, 9 Apr 2026 00:42:03 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BD=D0=B0=20Java=2021=20=D0=B8=20?= =?UTF-8?q?=D1=81=D0=BE=D0=B2=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=BD=D1=8B?= =?UTF-8?q?=D0=B5=20=D0=B7=D0=B0=D0=B2=D0=B8=D1=81=D0=B8=D0=BC=D0=BE=D1=81?= =?UTF-8?q?=D1=82=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Обновлен Java toolchain с 17 на 21 - Обновлены зависимости: * HikariCP: 5.1.0 → 6.2.1 * JUnit Jupiter: 5.10.2 → 5.11.4 * jqwik: 1.8.4 → 1.9.2 * snakeyaml: 2.2 → 2.3 * sqlite-jdbc: 3.45.1.0 → 3.47.2.0 Сборка: PASS Тесты: PASS (20/20) --- build.gradle.kts | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 813e172..f2ee8f9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,7 @@ version = "1.1.0" java { toolchain { - languageVersion.set(JavaLanguageVersion.of(17)) + languageVersion.set(JavaLanguageVersion.of(21)) } } @@ -18,17 +18,17 @@ repositories { } dependencies { - // Используем более старую версию Paper API для совместимости с 1.19.2 + // Paper API для 1.19.4+ compileOnly("io.papermc.paper:paper-api:1.19.4-R0.1-SNAPSHOT") - + implementation("com.squareup.okhttp3:okhttp:4.12.0") - implementation("com.zaxxer:HikariCP:5.1.0") + implementation("com.zaxxer:HikariCP:6.2.1") implementation("org.postgresql:postgresql:42.7.4") - - testImplementation("org.junit.jupiter:junit-jupiter:5.10.2") - testImplementation("net.jqwik:jqwik:1.8.4") - testImplementation("org.yaml:snakeyaml:2.2") - testImplementation("org.xerial:sqlite-jdbc:3.45.1.0") + + testImplementation("org.junit.jupiter:junit-jupiter:5.11.4") + testImplementation("net.jqwik:jqwik:1.9.2") + testImplementation("org.yaml:snakeyaml:2.3") + testImplementation("org.xerial:sqlite-jdbc:3.47.2.0") testCompileOnly("io.papermc.paper:paper-api:1.19.4-R0.1-SNAPSHOT") testRuntimeOnly("org.junit.platform:junit-platform-launcher") } @@ -59,11 +59,11 @@ tasks { compileJava { options.encoding = "UTF-8" - options.release.set(17) + options.release.set(21) } - + compileTestJava { options.encoding = "UTF-8" - options.release.set(17) + options.release.set(21) } }