From 81569c5ba8b76224d9a8457d9f3f8c67b644de1b Mon Sep 17 00:00:00 2001 From: Vankka Date: Sun, 27 Mar 2022 19:52:24 +0300 Subject: [PATCH] Add manifest attributes --- build.gradle | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/build.gradle b/build.gradle index 5d8265fe..ea114257 100644 --- a/build.gradle +++ b/build.gradle @@ -96,6 +96,18 @@ allprojects { // Always run shadowJar finalizedBy shadowJar + manifest.attributes( + "Specification-Title": "DiscordSRV", + "Specification-Vendor": "DiscordSRV", + "Specification-Version": project.version + ) + if (project.name != "api") { + manifest.attributes( + "Implementation-Title": "DiscordSRV", + "Implementation-Vendor": "DiscordSRV", + "Implementation-Version": project.version + ) + } if (indraGit.isPresent()) { indraGit.applyVcsInformationToManifest(manifest) }