From 0921eead63fe5910b734ee7750b7241e890b6b37 Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Fri, 21 May 2021 18:04:10 +0200 Subject: [PATCH] added module-info --- pom.xml | 21 +++++++++++++++++++-- src/main/java9/module-info.java | 12 ++++++++++++ 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 src/main/java9/module-info.java diff --git a/pom.xml b/pom.xml index a82cfb7..967f3b4 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ 2.8.6 30.1.1-jre - 1.4.1 + 1.4.2 1.7.30 @@ -147,6 +147,22 @@ UTF-8 true + + + java9 + compile + + compile + + + 9 + + ${project.basedir}/src/main/java9 + + true + + + org.apache.maven.plugins @@ -160,7 +176,8 @@ - org.cryptomator.cryptolib + true + true diff --git a/src/main/java9/module-info.java b/src/main/java9/module-info.java new file mode 100644 index 0000000..7111d6f --- /dev/null +++ b/src/main/java9/module-info.java @@ -0,0 +1,12 @@ +module org.cryptomator.cryptolib { + requires org.cryptomator.siv; + requires com.google.gson; + requires com.google.common; + requires org.slf4j; + + exports org.cryptomator.cryptolib; + exports org.cryptomator.cryptolib.api; + exports org.cryptomator.cryptolib.common; + + opens org.cryptomator.cryptolib.common to com.google.gson; +} \ No newline at end of file