From 10f1184e0126fac3a9263b8477659ddd4fcac04e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Sastre=20Fl=C3=B3rez?= Date: Sun, 15 Sep 2024 15:32:27 +0200 Subject: [PATCH 1/2] Upgrade Paparazzi to 1.3.4 --- paparazzi/build.gradle | 2 +- .../config/PaparazziWrapperConfigAdapter.kt | 26 +++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/paparazzi/build.gradle b/paparazzi/build.gradle index 735cf83..1234938 100644 --- a/paparazzi/build.gradle +++ b/paparazzi/build.gradle @@ -48,7 +48,7 @@ android { dependencies { implementation project(':utils') api project(':mapper-paparazzi') - api('app.cash.paparazzi:paparazzi:1.3.3') + api('app.cash.paparazzi:paparazzi:1.3.4') } //https://www.talentica.com/blogs/publish-your-android-library-on-jitpack-for-better-reachability/ diff --git a/paparazzi/src/main/java/sergio/sastre/uitesting/paparazzi/config/PaparazziWrapperConfigAdapter.kt b/paparazzi/src/main/java/sergio/sastre/uitesting/paparazzi/config/PaparazziWrapperConfigAdapter.kt index f2e7f8e..86cf5c3 100644 --- a/paparazzi/src/main/java/sergio/sastre/uitesting/paparazzi/config/PaparazziWrapperConfigAdapter.kt +++ b/paparazzi/src/main/java/sergio/sastre/uitesting/paparazzi/config/PaparazziWrapperConfigAdapter.kt @@ -40,24 +40,24 @@ internal class PaparazziWrapperConfigAdapter( fun asPaparazziDensity(): Density = when (config.density) { PaparazziWrapperDensity.XXXHIGH -> Density.XXXHIGH - PaparazziWrapperDensity.DPI_560 -> Density.DPI_560 + PaparazziWrapperDensity.DPI_560 -> Density(560) PaparazziWrapperDensity.XXHIGH -> Density.XXHIGH - PaparazziWrapperDensity.DPI_440 -> Density.DPI_440 - PaparazziWrapperDensity.DPI_420 -> Density.DPI_420 - PaparazziWrapperDensity.DPI_400 -> Density.DPI_400 - PaparazziWrapperDensity.DPI_360 -> Density.DPI_360 + PaparazziWrapperDensity.DPI_440 -> Density(440) + PaparazziWrapperDensity.DPI_420 -> Density(420) + PaparazziWrapperDensity.DPI_400 -> Density(400) + PaparazziWrapperDensity.DPI_360 -> Density(360) PaparazziWrapperDensity.XHIGH -> Density.XHIGH - PaparazziWrapperDensity.DPI_260 -> Density.DPI_260 - PaparazziWrapperDensity.DPI_280 -> Density.DPI_280 - PaparazziWrapperDensity.DPI_300 -> Density.DPI_300 - PaparazziWrapperDensity.DPI_340 -> Density.DPI_340 + PaparazziWrapperDensity.DPI_260 -> Density(260) + PaparazziWrapperDensity.DPI_280 -> Density(280) + PaparazziWrapperDensity.DPI_300 -> Density(300) + PaparazziWrapperDensity.DPI_340 -> Density(340) PaparazziWrapperDensity.HIGH -> Density.HIGH - PaparazziWrapperDensity.DPI_220 -> Density.DPI_220 + PaparazziWrapperDensity.DPI_220 -> Density(220) PaparazziWrapperDensity.TV -> Density.TV - PaparazziWrapperDensity.DPI_200 -> Density.DPI_200 - PaparazziWrapperDensity.DPI_180 -> Density.DPI_180 + PaparazziWrapperDensity.DPI_200 -> Density(200) + PaparazziWrapperDensity.DPI_180 -> Density(180) PaparazziWrapperDensity.MEDIUM -> Density.MEDIUM - PaparazziWrapperDensity.DPI_140 -> Density.DPI_140 + PaparazziWrapperDensity.DPI_140 -> Density(140) PaparazziWrapperDensity.LOW -> Density.LOW PaparazziWrapperDensity.ANYDPI -> Density.ANYDPI PaparazziWrapperDensity.NODPI -> Density.NODPI From 9e4ab5cffa479a91c2d8efbb092b89902e3b494a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Sastre=20Fl=C3=B3rez?= Date: Sun, 15 Sep 2024 15:35:45 +0200 Subject: [PATCH 2/2] update modules to 2.5.0 --- android-testify/build.gradle | 2 +- dropshots/build.gradle | 2 +- mapper-paparazzi/build.gradle | 2 +- mapper-roborazzi/build.gradle | 2 +- paparazzi/build.gradle | 2 +- robolectric/build.gradle | 2 +- roborazzi/build.gradle | 2 +- shot/build.gradle | 2 +- utils/build.gradle | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/android-testify/build.gradle b/android-testify/build.gradle index f8bda61..bcfe6f5 100644 --- a/android-testify/build.gradle +++ b/android-testify/build.gradle @@ -65,7 +65,7 @@ publishing { release(MavenPublication) { groupId = 'com.github.sergio-sastre' artifactId = "android-testify" - version = '2.4.0' + version = '2.5.0' afterEvaluate { from components.release diff --git a/dropshots/build.gradle b/dropshots/build.gradle index 39aa21e..d7a88d4 100644 --- a/dropshots/build.gradle +++ b/dropshots/build.gradle @@ -64,7 +64,7 @@ publishing { release(MavenPublication) { groupId = 'com.github.sergio-sastre' artifactId = "dropshots" - version = '2.4.0' + version = '2.5.0' afterEvaluate { from components.release diff --git a/mapper-paparazzi/build.gradle b/mapper-paparazzi/build.gradle index 660f36d..4e7f71d 100644 --- a/mapper-paparazzi/build.gradle +++ b/mapper-paparazzi/build.gradle @@ -49,7 +49,7 @@ publishing { release(MavenPublication) { groupId = 'com.github.sergio-sastre' artifactId = "mapper-paparazzi" - version = '2.4.0' + version = '2.5.0' afterEvaluate { from components.release diff --git a/mapper-roborazzi/build.gradle b/mapper-roborazzi/build.gradle index e698a19..b9221fa 100644 --- a/mapper-roborazzi/build.gradle +++ b/mapper-roborazzi/build.gradle @@ -50,7 +50,7 @@ publishing { release(MavenPublication) { groupId = 'com.github.sergio-sastre' artifactId = "mapper-roborazzi" - version = '2.4.0' + version = '2.5.0' afterEvaluate { from components.release diff --git a/paparazzi/build.gradle b/paparazzi/build.gradle index 1234938..5496f92 100644 --- a/paparazzi/build.gradle +++ b/paparazzi/build.gradle @@ -57,7 +57,7 @@ publishing { release(MavenPublication) { groupId = 'com.github.sergio-sastre' artifactId = "paparazzi" - version = '2.4.0' + version = '2.5.0' afterEvaluate { from components.release diff --git a/robolectric/build.gradle b/robolectric/build.gradle index 171f4cf..2c479c4 100644 --- a/robolectric/build.gradle +++ b/robolectric/build.gradle @@ -50,7 +50,7 @@ publishing { release(MavenPublication) { groupId = 'com.github.sergio-sastre' artifactId = "robolectric" - version = '2.4.0' + version = '2.5.0' afterEvaluate { from components.release diff --git a/roborazzi/build.gradle b/roborazzi/build.gradle index a72bdef..d40c011 100644 --- a/roborazzi/build.gradle +++ b/roborazzi/build.gradle @@ -64,7 +64,7 @@ publishing { release(MavenPublication) { groupId = 'com.github.sergio-sastre' artifactId = "roborazzi" - version = '2.4.0' + version = '2.5.0' afterEvaluate { from components.release diff --git a/shot/build.gradle b/shot/build.gradle index b309815..d1a8ec4 100644 --- a/shot/build.gradle +++ b/shot/build.gradle @@ -61,7 +61,7 @@ publishing { release(MavenPublication) { groupId = 'com.github.sergio-sastre' artifactId = "shot" - version = '2.4.0' + version = '2.5.0' afterEvaluate { from components.release diff --git a/utils/build.gradle b/utils/build.gradle index 71ea107..41b0bfc 100644 --- a/utils/build.gradle +++ b/utils/build.gradle @@ -71,7 +71,7 @@ publishing { release(MavenPublication) { groupId = 'com.github.sergio-sastre' artifactId = "utils" - version = '2.4.0' + version = '2.5.0' afterEvaluate { from components.release