From 56b1213d36699dbafd894b925e127906d8dcf539 Mon Sep 17 00:00:00 2001 From: Enrico Martelli Date: Sat, 21 Oct 2023 11:29:33 +0200 Subject: [PATCH] Added Manifest attribute to enable usage inside Java 9 modules --- library/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/library/build.gradle b/library/build.gradle index e99f5241..4f4564cc 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -14,6 +14,12 @@ dependencies { testCompile 'org.reflections:reflections:0.9.12' } +jar { + manifest { + attributes "Automatic-Module-Name": "telegram.bot.api" + } +} + jacoco { toolVersion = "0.8.5" }