chore: Обновление на Java 21 и современные зависимости
- Обновлен 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)
This commit is contained in:
parent
56d7b386fb
commit
e58a1f5f3b
1 changed files with 12 additions and 12 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue