Skip to content

Set 'com.google.googlejavaformat' as automatic module name - #248

Closed
sormuras wants to merge 1 commit into
google:masterfrom
sormuras:automatic-module-name
Closed

sormuras wants to merge 1 commit into
google:masterfrom
sormuras:automatic-module-name

Conversation

@sormuras

@sormuras sormuras commented Jan 21, 2018 •

Copy link
Copy Markdown
Contributor

Claim com.google.googlejavaformat as Automatic-Module-Name in the JAR manifest.

Details:
http://branchandbound.net/blog/java/2017/12/automatic-module-name/

Module names already claimed by Google:
https://github.com/jodastephen/jpms-module-names/blob/master/generated/modules.md#google

Before name is set:

jar --describe-module --file google-java-format-1.5.jar

[email protected] automatic
[...]

After name is set:

jar --describe-module --file google-java-format-1.6-SNAPSHOT.jar

[email protected] automatic
requires java.base mandated
contains com.google.googlejavaformat
contains com.google.googlejavaformat.java
contains com.google.googlejavaformat.java.filer
contains com.google.googlejavaformat.java.javadoc
main-class com.google.googlejavaformat.java.Main

@sormuras

Copy link
Copy Markdown
Contributor Author

@ronshapiro / @cushon What about this automatic module name PR?

@ronshapiro

Copy link
Copy Markdown
Contributor

LGTM. I'll wait for Liam before merging it in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants