writeMarker
Writes a key-value marker file for Gradle up-to-date checks.
A marker records status; it does not replace declarations of consumed files or produced artifacts. Source-editing and live-environment checks must define their own execution policy, since restoring a marker cannot reproduce their side effects.
Usage:
// Simple status marker
markerFile.writeMarker("status" to "ok", "files" to "12")
// From a map
markerFile.writeMarker(mapOf("applied" to 3, "skipped" to 0, "missing" to 0))Content copied to clipboard
Writes a key-value marker file from a map.