From e8d35a67fae335c764c2717dcc6276ae9ce45b03 Mon Sep 17 00:00:00 2001 From: Alessandro Autiero Date: Sun, 10 Mar 2024 14:16:29 +0100 Subject: [PATCH] Added module-info.java using moditect plugin to preserve Java 8 compatibility (#96) --- pom.xml | 22 ++++++++++++++++++++++ src/main/moditect/module-info.java | 5 +++++ 2 files changed, 27 insertions(+) create mode 100644 src/main/moditect/module-info.java diff --git a/pom.xml b/pom.xml index ca4caad..019714d 100644 --- a/pom.xml +++ b/pom.xml @@ -5,6 +5,7 @@ org.sonatype.oss oss-parent 7 + com.googlecode.plist dd-plist @@ -195,6 +196,27 @@ true + + org.moditect + moditect-maven-plugin + 1.1.0 + + + add-module-infos + package + + add-module-info + + + ${project.build.directory} + true + + src/main/moditect/module-info.java + + + + + diff --git a/src/main/moditect/module-info.java b/src/main/moditect/module-info.java new file mode 100644 index 0000000..b6439f1 --- /dev/null +++ b/src/main/moditect/module-info.java @@ -0,0 +1,5 @@ +module dd.plist { + exports com.dd.plist; + + requires java.xml; +} \ No newline at end of file