When I modify the ‘Main-Class’ in jar.manifest.attributes in build.gradle, or the project name in settings.gradle, I expect the next gradle build or gradle shadowJar to update the respective JARs with the new attribute values.
Instead, the JARs are left as-is, and I am forced to carefully gradle clean and try building the JARs again.