From 71c705149d309b2604dda4decfcdb1a7fa27fea1 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Tue, 18 Jan 2022 12:29:14 +0100 Subject: [PATCH] add Automatic-Module-Name --- build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.gradle b/build.gradle index b03a6dd..9e9585c 100644 --- a/build.gradle +++ b/build.gradle @@ -43,6 +43,12 @@ java { withSourcesJar() } +tasks.named('jar') { + manifest { + attributes('Automatic-Module-Name': 'com.github.pjfanning.poi-shared-strings') + } +} + nexusPublishing { repositories { sonatype()