You are reading documentation for 0.8.0. The latest release in the 0.8 line is 0.8.4.
Release Notes for 0.8.0
This release caches the Kotlin DSL incremental-compilation state and classpath snapshots of Gradle 9.9, reports every omitted cache file in the job summary, and restores and starts cold per partition instead of per cache. It changes the cache schema, so existing caches start cold once.
Highlights
- Cache the Kotlin DSL incremental-compilation state that Gradle 9.9 and later keep
under
caches/<version>/kotlin-dsl/ic/<key>/as complete workspaces, and the content-addressed classpath snapshots underkotlin-dsl/classpath-snapshots/snapshots/as ordinary files. Gradle 9.9 builds previously reported both as omitted and recomputed them in every job. A job that changes a build script can now recompile it incrementally, and every job reuses the classpath ABI hashes that key the compiled scripts. Theclasspath-snapshots/gc.propertiescleanup marker is excluded. - Report every omitted cache file instead of a sample of eight. The capture warning groups omitted files into path patterns with exact counts. The post step adds an “Omitted cache files” section to the job summary with the largest patterns and a link to a prefilled issue form, and a collapsed log group lists the individual files, up to 10,000.
- Restore and start cold per partition. Each partition has its own compatibility
key, covering its configuration, the hard excludes and the layout version of each
Gradle or Maven cache area its includes can reach. A job restores the saved
partitions whose key matches its own and starts the others cold. Partitions that
share Maven coordinate directories still restore or start cold together.
Changing one
cache-partitionsentry, or a later Mammoth release that supports a new Kotlin DSL layout, now colds only the affected partitions; dependency caches keep restoring.
Upgrade notes
- The internal cache schema moves from 9 to 10, and the cache family and generation record formats change. Existing Gradle and Maven caches are not reused: the first 0.8.0 run of each job starts cold and publishes a new cache generation. There is no migration.
- Mixing 0.8.0 and older Mammoth versions in one workflow is not supported.
- No action-input changes are required.
Review v0.8.0-rc1 as the first release candidate and use v0.8.0 after final
promotion.