diff --git a/api/src/main/java/module-info.java b/api/src/main/java/module-info.java index 5ae18bd3..c46f191e 100644 --- a/api/src/main/java/module-info.java +++ b/api/src/main/java/module-info.java @@ -15,17 +15,16 @@ */ module jakarta.mail { + + requires java.logging; + requires transitive jakarta.activation; + exports jakarta.mail; exports jakarta.mail.event; exports jakarta.mail.internet; exports jakarta.mail.search; exports jakarta.mail.util; - requires transitive jakarta.activation; - requires transitive java.logging; - requires java.xml; // for text/xml handler - requires java.desktop; // for image/jpeg handler - requires transitive java.security.sasl; // for OAuth2 support uses jakarta.mail.Provider; uses jakarta.mail.util.StreamProvider; }