Java 9 module (#1179)

* Add module-info.java

* Exclude module-info.java by default
This commit is contained in:
michaelsavich 2017-12-26 11:28:19 -05:00 committed by inder123
parent 6b20e3aaec
commit 7ddac52748
2 changed files with 9 additions and 0 deletions

View File

@ -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;
}

View File

@ -65,6 +65,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<excludes>**/module-info.java</excludes>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>