From 7ddac52748c59228cb86d08d60b417ce737a0563 Mon Sep 17 00:00:00 2001 From: michaelsavich Date: Tue, 26 Dec 2017 11:28:19 -0500 Subject: [PATCH] Java 9 module (#1179) * Add module-info.java * Exclude module-info.java by default --- gson/src/main/java/com.google.gson/module-info.java | 8 ++++++++ pom.xml | 1 + 2 files changed, 9 insertions(+) create mode 100644 gson/src/main/java/com.google.gson/module-info.java diff --git a/gson/src/main/java/com.google.gson/module-info.java b/gson/src/main/java/com.google.gson/module-info.java new file mode 100644 index 00000000..d567d8ce --- /dev/null +++ b/gson/src/main/java/com.google.gson/module-info.java @@ -0,0 +1,8 @@ +module com.google.gson { + exports com.google.gson; + exports com.google.gson.annotations; + exports com.google.gson.reflect; + exports com.google.gson.stream; + + requires java.sql; +} diff --git a/pom.xml b/pom.xml index 4cb70ca9..c6b454b5 100644 --- a/pom.xml +++ b/pom.xml @@ -65,6 +65,7 @@ maven-compiler-plugin 3.7.0 + **/module-info.java ${java.version} ${java.version}