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'.
This commit is contained in:
Eric Anderson 2021-08-02 12:54:52 -07:00
parent 62b4364a77
commit 75691c8588
1 changed files with 1 additions and 5 deletions

View File

@ -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 {