Skip to content

Commit eb37b61

Browse files
committed
Exclude Jackson 2.17.0-rc1 from dependency resolution
- See: #350 - See: FasterXML/jackson-databind#4413
1 parent fefbfd3 commit eb37b61

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
Changes:
44

55
* Dropped dependency on COSE-Java.
6+
* Excluded Jackson version 2.17.0-rc1 from dependency resolution due to an
7+
incompatible regression.
68

79

810
== Version 2.5.0 ==

settings.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ dependencyResolutionManagement {
1919
library("httpclient5", "org.apache.httpcomponents.client5:httpclient5:[5.0.0,6)")
2020
library("slf4j", "org.slf4j:slf4j-api:[1.7.25,3)")
2121

22-
val jacksonVer = version("jackson", "[2.13.2.1,3)")
22+
val jacksonVer = version("jackson") {
23+
require("[2.13.2.1,3)")
24+
reject("2.17.0-rc1") // Regression: https://github.com/FasterXML/jackson-databind/issues/4413
25+
}
2326
library("jackson-bom", "com.fasterxml.jackson", "jackson-bom").versionRef(jacksonVer)
2427
library("jackson-databind", "com.fasterxml.jackson.core", "jackson-databind").versionRef(jacksonVer)
2528
library("jackson-dataformat-cbor", "com.fasterxml.jackson.dataformat", "jackson-dataformat-cbor").versionRef(jacksonVer)

0 commit comments

Comments
 (0)