feat: 添加 lettuce API

This commit is contained in:
2024-01-13 01:31:49 +08:00
parent ec6d5dec65
commit aeb73f0558
11 changed files with 118 additions and 46 deletions

View File

@@ -1,20 +1,23 @@
@file:Suppress("VulnerableLibrariesLocal", "GradlePackageUpdate", "GradlePackageVersionRange")
plugins {
id("java-library")
}
@file:Suppress("VulnerableLibrariesLocal")
dependencies {
compileOnly("com.google.code.gson:gson:2.8.0")
api("net.kyori:adventure-platform-api:4+") {
implementation("net.kyori:adventure-platform-api:4.3.2") {
exclude(group = "org.jetbrains")
}
api("net.kyori:adventure-text-serializer-gson:4.13+") {
implementation("net.kyori:adventure-text-serializer-gson:4.13.1") {
exclude(group = "org.jetbrains")
exclude(group = "com.google.code.gson")
}
implementation("org.quartz-scheduler:quartz:2.3.2") { isTransitive = false }
// https://mvnrepository.com/artifact/io.lettuce/lettuce-core
implementation("io.lettuce:lettuce-core:6.3.1.RELEASE") {
exclude(group = "io.netty")
}
implementation("org.quartz-scheduler:quartz:2.3.2") {
isTransitive = false
}
}
tasks {