From 763e65cd7520f62ba0357d601b440626d80eb254 Mon Sep 17 00:00:00 2001 From: JoseLion Date: Wed, 13 Sep 2023 03:04:39 -0500 Subject: [PATCH] fix(jar): Manifest missing attributes --- build.gradle | 6 ++++++ config/checkstyle/suppressions.xml | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 2d0c9d8..79a50e3 100644 --- a/build.gradle +++ b/build.gradle @@ -42,8 +42,14 @@ jar { from(sourceSets.main.allSource) manifest { attributes( + 'Build-Jdk': "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})", + 'Build-Jdk-Spec': java.sourceCompatibility, + 'Build-Timestamp': LocalDateTime.now().toString(), + 'Created-By': "Gradle ${gradle.gradleVersion}", 'Implementation-Title': project.name, + 'Implementation-Vendor': 'Jose Luis Leon', 'Implementation-Version': project.version, + 'Package': "${project.group}.${project.name}", ) } } diff --git a/config/checkstyle/suppressions.xml b/config/checkstyle/suppressions.xml index 43f940c..9dacd2f 100644 --- a/config/checkstyle/suppressions.xml +++ b/config/checkstyle/suppressions.xml @@ -3,5 +3,8 @@ - +