sendgrid-java icon indicating copy to clipboard operation
sendgrid-java copied to clipboard

Latest version does not support Java 9 Modules

Open benstpierre opened this issue 6 years ago • 2 comments

Issue Summary

The latest sendgrid api does not support Java 9 modules. Not only is there no module-info.java your api uses split packages which disqualifies it from use in the java 9 Module system.

You get this error when you try to use it...

Module 'yourmodule' reads package 'com.sendgrid' from both 'sendgrid.java' and 'java.http.client'

Steps to Reproduce

Try to use sendgrid 4.2.1 in a Java 9 or Java 10 app with a module-info.java file.

This article explains.
https://msayag.github.io/SplitPackage/

benstpierre avatar Jun 15 '18 22:06 benstpierre