build(dependencies): 更新 telegrambots 依赖项.

将 telegrambots 依赖项更新至 6.5.0, 支持新版 Api;
已确认 telegrambots 6.5.0 版本升级了jackson-databind 版本,
因此移除 jackson-databind 的显性依赖声明.
This commit is contained in:
LamGC 2023-02-08 10:12:33 +08:00
parent 961382fb56
commit 712378b3ff
Signed by: LamGC
GPG Key ID: 6C5AE2A913941E1D
3 changed files with 4 additions and 16 deletions

View File

@ -29,12 +29,8 @@ dependencies {
implementation("org.jdom:jdom2:2.0.6.1")
implementation("org.telegram:telegrambots-abilities:6.3.0")
implementation("org.telegram:telegrambots:6.3.0")
// Added as a mitigation measure for vulnerabilities.
// When the relevant reference dependency updates it, it will be removed.
implementation("com.fasterxml.jackson.core:jackson-databind:2.13.4.2")
implementation("org.telegram:telegrambots-abilities:6.5.0")
implementation("org.telegram:telegrambots:6.5.0")
implementation("io.prometheus:simpleclient:0.16.0")
implementation("io.prometheus:simpleclient_httpserver:0.16.0")

View File

@ -9,13 +9,9 @@ plugins {
dependencies {
implementation("commons-codec:commons-codec:1.15")
api("org.telegram:telegrambots-abilities:6.3.0")
api("org.telegram:telegrambots-abilities:6.5.0")
api("org.slf4j:slf4j-api:2.0.3")
// Added as a mitigation measure for vulnerabilities.
// When the relevant reference dependency updates it, it will be removed.
implementation("com.fasterxml.jackson.core:jackson-databind:2.13.4.2")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.9.0")
testImplementation("org.mockito:mockito-core:4.8.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")

View File

@ -12,11 +12,7 @@ dependencies {
api("org.eclipse.aether:aether-api:$aetherVersion")
implementation("org.eclipse.aether:aether-util:$aetherVersion")
implementation("org.telegram:telegrambots-meta:6.3.0")
// Added as a mitigation measure for vulnerabilities.
// When the relevant reference dependency updates it, it will be removed.
implementation("com.fasterxml.jackson.core:jackson-databind:2.13.4.2")
implementation("org.telegram:telegrambots-meta:6.5.0")
api("com.google.code.gson:gson:2.9.0")