Skip to content

Commit

Permalink
Add extra changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrtwhite committed Oct 25, 2024
1 parent 5ffce08 commit 3205df3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,15 @@ allprojects {
}
}

// https://youtrack.jetbrains.com/issue/CMP-5831
configurations.all {
resolutionStrategy.eachDependency {
if (requested.group == "org.jetbrains.kotlinx" && requested.name == "atomicfu") {
useVersion(libs.versions.atomicfu.get())
}
}
}

applyOkioJsTestWorkaround()
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ okhttp = "4.12.0"
okio = "3.9.1"
paparazzi = "1.3.4"
roborazzi = "1.29.0"
skiko = "0.8.4"
skiko = "0.8.15"

[plugins]
baselineProfile = { id = "androidx.baselineprofile", version.ref = "androidx-benchmark" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ abstract class AbstractSvgDecoderTest(
assertTrue(result.isSampled)

val expected = decodeBitmapResource("instacart_logo.png")
result.image.toBitmap().assertIsSimilarTo(expected)
result.image.toBitmap().assertIsSimilarTo(expected, threshold = 0.95)
}

/** Regression test: https://github.com/coil-kt/coil/issues/1246 */
Expand Down

0 comments on commit 3205df3

Please sign in to comment.