mirror of
https://github.com/LamGC/ScalaBot.git
synced 2025-04-29 22:27:31 +00:00
build(dependencies): 更新 telegrambots 依赖项.
将 telegrambots 依赖项更新至 6.5.0, 支持新版 Api; 已确认 telegrambots 6.5.0 版本升级了jackson-databind 版本, 因此移除 jackson-databind 的显性依赖声明.
This commit is contained in:
parent
961382fb56
commit
712378b3ff
@ -29,12 +29,8 @@ dependencies {
|
|||||||
|
|
||||||
implementation("org.jdom:jdom2:2.0.6.1")
|
implementation("org.jdom:jdom2:2.0.6.1")
|
||||||
|
|
||||||
implementation("org.telegram:telegrambots-abilities:6.3.0")
|
implementation("org.telegram:telegrambots-abilities:6.5.0")
|
||||||
implementation("org.telegram:telegrambots:6.3.0")
|
implementation("org.telegram:telegrambots:6.5.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("io.prometheus:simpleclient:0.16.0")
|
implementation("io.prometheus:simpleclient:0.16.0")
|
||||||
implementation("io.prometheus:simpleclient_httpserver:0.16.0")
|
implementation("io.prometheus:simpleclient_httpserver:0.16.0")
|
||||||
|
@ -9,13 +9,9 @@ plugins {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("commons-codec:commons-codec:1.15")
|
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")
|
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.junit.jupiter:junit-jupiter-api:5.9.0")
|
||||||
testImplementation("org.mockito:mockito-core:4.8.0")
|
testImplementation("org.mockito:mockito-core:4.8.0")
|
||||||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
|
||||||
|
@ -12,11 +12,7 @@ dependencies {
|
|||||||
api("org.eclipse.aether:aether-api:$aetherVersion")
|
api("org.eclipse.aether:aether-api:$aetherVersion")
|
||||||
implementation("org.eclipse.aether:aether-util:$aetherVersion")
|
implementation("org.eclipse.aether:aether-util:$aetherVersion")
|
||||||
|
|
||||||
implementation("org.telegram:telegrambots-meta:6.3.0")
|
implementation("org.telegram:telegrambots-meta:6.5.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")
|
|
||||||
|
|
||||||
api("com.google.code.gson:gson:2.9.0")
|
api("com.google.code.gson:gson:2.9.0")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user