Use the Gradle Manifest attributes merging API

Apache 2.0

Replace Groovy Gradle Manifest attributes += map with attributes(map). Gradle 9 makes the attributes property read-only. Only discarded assignments with Manifest attribution or an unshadowed canonical jar/manifest configuration are migrated.

org.openrewrite.gradle.gradle9.UseManifestAttributes
mod run . --recipe=org.openrewrite.gradle.gradle9.UseManifestAttributes

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.