From 75691c85889e37411fffc580c0c996117a775ca9 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Mon, 2 Aug 2021 12:54:52 -0700 Subject: [PATCH] build.gradle: Remove non-standard MANIFEST.MF attributes Including the build user's name doesn't provide much value and may surprise some people. Built-JDK is actually wrong, as it is reporting Gradle's Java version, not the javac version. And Source-/Target- Compatibility isn't useful if nobody looks at it. Generally people just look at the bytecode version itself, which is much more reliable and doesn't have questions as to whether it should be '8' or '1.8'. --- build.gradle | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index a77f3801f0..393b91a30b 100644 --- a/build.gradle +++ b/build.gradle @@ -269,11 +269,7 @@ subprojects { jar.manifest { attributes('Implementation-Title': name, - 'Implementation-Version': version, - 'Built-By': System.getProperty('user.name'), - 'Built-JDK': System.getProperty('java.version'), - 'Source-Compatibility': sourceCompatibility, - 'Target-Compatibility': targetCompatibility) + 'Implementation-Version': version) } javadoc.options {