You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
A Kotlin Multiplatform module using Compose Multiplatform resources works with the configuration
cache. Storing it failed with Querying the mapped value of ... before task ':copyAndroidMainComposeResourcesToAndroidAssets' has completed is not supported, because
Mugshot recorded that plugin's generated assets directory as an input before the directory
existed.
recordMugshot works with the configuration cache in a Kotlin Multiplatform module that has @Mugshot previews. The snapshot directory is now src/androidHostTest/snapshots by name,
where goldens already were, rather than resolved from sources that include the generated test.
Changed
prepareMugshot<Variant>Resources runs on every build instead of being cached, as a generated
asset directory's path cannot be part of a cache key. It only writes a list of paths; when that
list is unchanged, the screenshot tests stay up to date or come from the build cache as before.