Skip to content

Commit 9feba7c

Browse files
eljobecpovirk
authored andcommitted
Add an Automatic-Module-Name manifest entry.
Fixes google#2846 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=161084009
1 parent 4d81347 commit 9feba7c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

android/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,11 @@
113113
<artifactId>maven-jar-plugin</artifactId>
114114
<version>2.3.1</version>
115115
<configuration>
116+
<archive>
117+
<manifestEntries>
118+
<Automatic-Module-Name>com.google.common</Automatic-Module-Name>
119+
</manifestEntries>
120+
</archive>
116121
<excludes>
117122
<exclude>**/ForceGuavaCompilation*</exclude>
118123
</excludes>

pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@
114114
<artifactId>maven-jar-plugin</artifactId>
115115
<version>2.3.1</version>
116116
<configuration>
117+
<archive>
118+
<manifestEntries>
119+
<Automatic-Module-Name>com.google.common</Automatic-Module-Name>
120+
</manifestEntries>
121+
</archive>
117122
<excludes>
118123
<exclude>**/ForceGuavaCompilation*</exclude>
119124
</excludes>

0 commit comments

Comments
 (0)