Remove attributes that are just overridden by Gradle.