Override vulnerable Log4J version in mirai-console-gradle

This commit is contained in:
Him188 2022-06-18 13:02:29 +01:00
parent f7906b4aef
commit 16bbfdd36a
No known key found for this signature in database
GPG Key ID: BA439CDDCF652375

View File

@ -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}")