mirror of
https://github.com/mamoe/mirai.git
synced 2026-08-22 22:23:32 +08:00
Override vulnerable Log4J version in mirai-console-gradle
This commit is contained in:
@@ -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}")
|
||||
|
||||
Reference in New Issue
Block a user