Skip to content

Commit 4e33a96

Browse files
committed
Restrict Jackson versions to pre-2.13.2.1
Transitive dependency resolution currently fails: ``` A problem occurred evaluating project ':webauthn-server-attestation'. > A problem occurred configuring project ':webauthn-server-core-minimal'. > Could not resolve all files for configuration ':webauthn-server-core-minimal:compileClasspath'. > Could not find com.fasterxml.jackson:jackson-bom:2.13.2.1. Required by: project :webauthn-server-core-minimal > com.fasterxml.jackson.core:jackson-databind:2.13.2.1 > Could not find com.fasterxml.jackson:jackson-bom:2.13.2.1. Required by: project :webauthn-server-core-minimal > com.fasterxml.jackson.core:jackson-databind:2.13.2.1 > com.fasterxml.jackson.core:jackson-annotations:2.13.2 project :webauthn-server-core-minimal > com.fasterxml.jackson.core:jackson-databind:2.13.2.1 > com.fasterxml.jackson.core:jackson-core:2.13.2 ``` This is likely caused by some kind of release lag, and only a temporary problem.
1 parent 4f48976 commit 4e33a96

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

build.gradle

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,13 @@ wrapper {
4646
dependencies {
4747
constraints {
4848
api('com.augustcellars.cose:cose-java:[1.0.0,2)')
49-
api('com.fasterxml.jackson.core:jackson-databind:[2.11.0,3)')
50-
api('com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:[2.11.0,3)')
51-
api('com.fasterxml.jackson.datatype:jackson-datatype-jdk8:[2.11.0,3)')
49+
50+
// Jackson versions restricted to pre-2.13.2.1 because of (probably temporary) transitive dependency resolution issues
51+
// TODO: Revert to pre-3.0 once above issues are resolved
52+
api('com.fasterxml.jackson.core:jackson-databind:[2.11.0,2.13.2.1)')
53+
api('com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:[2.11.0,2.13.2.1)')
54+
api('com.fasterxml.jackson.datatype:jackson-datatype-jdk8:[2.11.0,2.13.2.1)')
55+
5256
api('com.google.guava:guava:[24.1.1,31)')
5357
api('com.upokecenter:cbor:[4.5.1,5)')
5458
api('javax.ws.rs:javax.ws.rs-api:[2.1,3)')

0 commit comments

Comments
 (0)