googlemaps / googlemaps/google-maps-services-java
Providing an automatic module name
- Linguagem predominante
- Java
- Estrelas
- 1.8k
- Forks
- 973
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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`.
Guia de contribuição
Direção de pesquisa
Inspecione a configuração de build que cria o JAR e seu manifest. Verifique se o artefato gerado inclui uma entrada Automatic-Module-Name com o valor com.google.maps e, em seguida, execute as verificações de build ou empacotamento disponíveis para confirmar que ela é preservada.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- java
- Domínio
- build-system
- Tipo de issue
- Funcionalidade
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 52/100