Update plugin paparazzi to v1.3.2 (#2229)
* Update plugin paparazzi to v1.3.2 * Add Guava dependency constraint as a workaround --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jorge Martín <jorgem@element.io>
This commit is contained in:
parent
d2361a14ea
commit
c0e6813e3b
2 changed files with 16 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ ktlint = "org.jlleitschuh.gradle.ktlint:12.1.0"
|
||||||
dependencygraph = "com.savvasdalkitsis.module-dependency-graph:0.12"
|
dependencygraph = "com.savvasdalkitsis.module-dependency-graph:0.12"
|
||||||
dependencycheck = "org.owasp.dependencycheck:9.0.9"
|
dependencycheck = "org.owasp.dependencycheck:9.0.9"
|
||||||
dependencyanalysis = { id = "com.autonomousapps.dependency-analysis", version.ref = "dependencyAnalysis" }
|
dependencyanalysis = { id = "com.autonomousapps.dependency-analysis", version.ref = "dependencyAnalysis" }
|
||||||
paparazzi = "app.cash.paparazzi:1.3.1"
|
paparazzi = "app.cash.paparazzi:1.3.2"
|
||||||
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" }
|
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" }
|
||||||
sqldelight = { id = "app.cash.sqldelight", version.ref = "sqldelight" }
|
sqldelight = { id = "app.cash.sqldelight", version.ref = "sqldelight" }
|
||||||
firebaseAppDistribution = { id = "com.google.firebase.appdistribution", version.ref = "firebaseAppDistribution" }
|
firebaseAppDistribution = { id = "com.google.firebase.appdistribution", version.ref = "firebaseAppDistribution" }
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,21 @@ dependencies {
|
||||||
testImplementation(libs.test.junit)
|
testImplementation(libs.test.junit)
|
||||||
testImplementation(libs.test.parameter.injector)
|
testImplementation(libs.test.parameter.injector)
|
||||||
testImplementation(projects.libraries.designsystem)
|
testImplementation(projects.libraries.designsystem)
|
||||||
|
|
||||||
|
// Paparazzi 1.3.2 workaround (see https://github.com/cashapp/paparazzi/blob/master/CHANGELOG.md#132---2024-01-13)
|
||||||
|
constraints.add("testImplementation", "com.google.guava:guava") {
|
||||||
|
attributes {
|
||||||
|
attribute(
|
||||||
|
TargetJvmEnvironment.TARGET_JVM_ENVIRONMENT_ATTRIBUTE,
|
||||||
|
objects.named(TargetJvmEnvironment::class.java, TargetJvmEnvironment.STANDARD_JVM)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
because(
|
||||||
|
"LayoutLib and sdk-common depend on Guava's -jre published variant." +
|
||||||
|
"See https://github.com/cashapp/paparazzi/issues/906."
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
ksp(libs.showkase.processor)
|
ksp(libs.showkase.processor)
|
||||||
kspTest(libs.showkase.processor)
|
kspTest(libs.showkase.processor)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue