googlemaps / googlemaps/google-maps-services-java

Providing an automatic module name

未关闭
#866 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
stale triage me type: feature request
主要语言
Java
星标
1.8k
派生
973
PR 合并指标
30 天内没有已合并 PR

描述

Since Java 9, Java provides a module system known as Jigsaw which allow library authors to restrict access of their internal packages and provide a better explicit dependency abstraction.

In order to benefit from this "new" feature, Java libraries need to provide a `module-info.java` file inside the jar artefact to declare what they requires and what they exports.

However since this can be non-trivial to become modular a important first step for library authors is to register a module-name to enable libraries depending on them to become modular without having to wait for modular refactoring work to be done. To register a module name a library simply need only to define the `Automatic-Module-Name` property in the `META-INF/MANIFEST.MF` file inside their jar artefact.

I suggest that this library should register the module name `com.google.maps`.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。