Skip to content

Commit 4b98ecc

Browse files
committed
Fix crash on start app on SDK <26
- Manually specify databind version to fix FasterXML/jackson-databind#3412, as the Kotlin module still depends on the unfixed version and hasn't had a new release yet
1 parent f398d1b commit 4b98ecc

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

app/build.gradle.kts

+1
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ dependencies {
154154
implementation("com.google.android.material:material:1.5.0")
155155

156156
implementation("com.squareup.retrofit2:retrofit:2.9.0")
157+
implementation("com.fasterxml.jackson.core:jackson-databind:2.13.2.2") // remove when jackson-module-kotlin version is higher
157158
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.13.2")
158159
implementation("com.squareup.okhttp3:okhttp:4.9.3")
159160
implementation("com.squareup.picasso:picasso:2.8")

common/build.gradle.kts

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ dependencies {
7070
implementation("com.squareup.retrofit2:converter-jackson:2.9.0")
7171
implementation("com.squareup.okhttp3:okhttp:4.9.3")
7272
implementation("com.squareup.okhttp3:logging-interceptor:4.9.3")
73+
implementation("com.fasterxml.jackson.core:jackson-databind:2.13.2.2") // remove when jackson-module-kotlin version is higher
7374
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.13.2")
7475
implementation("org.altbeacon:android-beacon-library:2.19.4")
7576
}

wear/build.gradle.kts

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ dependencies {
101101
implementation("com.google.dagger:hilt-android:2.41")
102102
kapt("com.google.dagger:hilt-android-compiler:2.41")
103103

104+
implementation("com.fasterxml.jackson.core:jackson-databind:2.13.2.2") // remove when jackson-module-kotlin version is higher
104105
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.13.2")
105106
implementation("com.squareup.okhttp3:okhttp:4.9.3")
106107

0 commit comments

Comments
 (0)