From 60caf284526146ec910f2de61d4ef98f0b54be17 Mon Sep 17 00:00:00 2001 From: mintdaniel42 <59701285+mintdaniel42@users.noreply.github.com> Date: Thu, 24 Aug 2023 10:23:45 +0200 Subject: [PATCH] Add Automatic Module Name to Manifest file for Java 9+ --- build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle b/build.gradle index b7b6438..e67ef56 100644 --- a/build.gradle +++ b/build.gradle @@ -19,6 +19,14 @@ publishing { } } +tasks.jar { + manifest { + attributes( + "Automatic-Module-Name": "com.github.crazzyghost.alphavantage" + ) + } +} + sourceCompatibility = 1.8