My analysis is as follows:
If only the contents of some file from maven local changed, Gradle will rerun createArtifactManifest, but its output won't change (because it only stores the file paths), meaning that createMinecraftArtifacts will not re-run.
I suppose this is only relevant for a few artifacts, for example NeoForge's.