Closed Kurt-Bonatz closed 1 year ago
I've had a number of issues getting the sample projects on master completing the executeScreenshotTests
tasks. My changes produce the same results as 5.14.1
on the updated sample projects, but several of the screenshot sizes are different than what are on master. So it's likely that CI might fail and I might need to re-record the screenshots as some library updates like the bump to Material could have changed some of the Android views.
That looks like a lifesaver, thank you for your big work! I think this issue can be also mentioned as a reference
Thank you so much @Kurt-Bonatz, let me take a look at the PR. It's quite big, but as the CI is passing I think we are good to go unless we find any major blocker π
Version 6.0.0 released, please @Kurt-Bonatz check if everything is working as expected from your end and let me know if there is something broken. Thanks π
@pedrovgs Apologies for the lengthy change π , and thanks for taking the time to review it! Thus far we haven't had any issues with the new version, though I did re-record our screenshots for good measure.
Also things worked out perfectly since you actually built and published the artifact with JDK 11 (don't worry things still work as expected on JDK 17), which means we could drop the new version in without also having to complete the JDK 17 migration on CI or locally. It actually simplified things quite a bit for us!
That's why I decided to use 6.0.0 as the new version. The changes will force users to update some of their dependencies and maybe the JDK they use π Thanks for your contribution @Kurt-Bonatz I really appreciate it!
:pushpin: References
:tophat: What is the goal?
Android Gradle Plugin 8 requires that apps use JDK 17. Currently, Shot stands as a blocker to using JDK 17 on projects that rely on it.
How is it being implemented?
How can it be tested?
All steps completed below with local maven published version on a Mac M1 using JDK 17 (#287)
shot-consumer-composer
sample project now targets these latest stable versions andexecuteScreenshotTests
runs as expected5.14.1
version of shotexecuteScreenshotTests
as expected and produce the same results as the production5.14.1
version of shot./gradlew clean checkScalaFmtAll ktlintCheck test :shot-android:connectedCheck
passes locally