Skip to content

Commit 604430d

Browse files
committed
More updates
#4314 (comment) * Remove unnecessary `requires java.base;` * Excludes META-INF from BND (see !META-INF...)
1 parent 6255508 commit 604430d

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

annotations/src/main/java/module-info.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
*/
1616

1717
open module com.google.errorprone.annotation {
18-
requires java.base;
1918
requires java.compiler;
2019

2120
exports com.google.errorprone.annotations;

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
<bnd><![CDATA[
151151
Bundle-SymbolicName: com.google.$<replacestring;$<replacestring;${project.artifactId};^error_prone;errorprone>;_;.>
152152
Automatic-Module-Name: $<Bundle-SymbolicName>
153-
-exportcontents: com.google.errorprone*
153+
-exportcontents: com.google.errorprone*,!META-INF.*
154154
-noextraheaders: true
155155
-removeheaders: Private-Package
156156
-fixupmessages: ^Classes found in the wrong directory: .*

0 commit comments

Comments
 (0)