mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-03 15:10:14 +08:00
Override vulnerable Log4J version in mirai-console-gradle
This commit is contained in:
parent
f7906b4aef
commit
16bbfdd36a
@ -40,6 +40,10 @@ dependencies {
|
||||
api("com.github.jengelman.gradle.plugins:shadow:6.0.0")
|
||||
api(`jetbrains-annotations`)
|
||||
|
||||
// override vulnerable Log4J version
|
||||
// https://blog.gradle.org/log4j-vulnerability
|
||||
implementation(`log4j-api`)
|
||||
implementation(`log4j-core`)
|
||||
|
||||
testApi(kotlin("test-junit5"))
|
||||
testApi("org.junit.jupiter:junit-jupiter-api:${Versions.junit}")
|
||||
|
Loading…
Reference in New Issue
Block a user