Skip to content

Commit

Permalink
Forced ktlint to use logback-core:1.2.13, and logback-classic:1.2.13 …
Browse files Browse the repository at this point in the history
…to address CVE. (opensearch-project#602)

Signed-off-by: AWSHurneyt <[email protected]>
  • Loading branch information
AWSHurneyt committed Feb 29, 2024
1 parent 0a876ba commit a611e3c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@ dependencies {
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.2'

ktlint "com.pinterest:ktlint:0.45.1"
add("ktlint", "com.pinterest:ktlint:0.45.1") {
exclude group: "ch.qos.logback", module: "logback-classic"
exclude group: "ch.qos.logback", module: "logback-core"
}
add("ktlint", "ch.qos.logback:logback-core:1.2.13")
add("ktlint", "ch.qos.logback:logback-classic:1.2.13")
}

test {
Expand Down

0 comments on commit a611e3c

Please sign in to comment.