Skip to content

3.4.2

Latest

Choose a tag to compare

@github-actions github-actions released this 14 Sep 16:50
· 16 commits to main since this release
f64bc01

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.