Skip to content

Commit

Permalink
Fix compatibility with Gradle 7.5.1 caused by multi-release JAR
Browse files Browse the repository at this point in the history
We still want to keep support for Gradle 7.5.1 a little longer. Gradle version older than 7.6.4 fail when trying to use multi-release JARs which contain code for JDKs which that Gradle doesn't support: gradle/gradle#24390. Starting with version 2.15, Jackson publishes such JARs.

Downgrading to version 2.14 is not an issue, as we don't use any fancy features. This version is fairly recent (May 2023) and doesn't have any known vulnerabilities.
  • Loading branch information
tudortimi committed Jun 16, 2024
1 parent fb498b4 commit c778301
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ gradlePlugin {
}

dependencies {
implementation("com.fasterxml.jackson.core:jackson-databind:2.16.0")
implementation("com.fasterxml.jackson.core:jackson-databind:2.14.3")

testImplementation("org.spockframework:spock-core:2.2-groovy-3.0") {
exclude(group = "org.codehaus.groovy")
}
testImplementation("org.spockframework:spock-junit4:2.0-groovy-3.0")
testImplementation("com.fasterxml.jackson.core:jackson-databind:2.16.0")
testImplementation("com.fasterxml.jackson.core:jackson-databind:2.14.3")
}

tasks.withType<Test> {
Expand Down

0 comments on commit c778301

Please sign in to comment.