Skip to content

Commit

Permalink
More updates
Browse files Browse the repository at this point in the history
#4314 (comment)

* Remove unnecessary `requires java.base;`
* Excludes META-INF from BND (see !META-INF...)
  • Loading branch information
cushon committed Mar 9, 2024
1 parent 6255508 commit 604430d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion annotations/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/

open module com.google.errorprone.annotation {
requires java.base;
requires java.compiler;

exports com.google.errorprone.annotations;
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
<bnd><![CDATA[
Bundle-SymbolicName: com.google.$<replacestring;$<replacestring;${project.artifactId};^error_prone;errorprone>;_;.>
Automatic-Module-Name: $<Bundle-SymbolicName>
-exportcontents: com.google.errorprone*
-exportcontents: com.google.errorprone*,!META-INF.*
-noextraheaders: true
-removeheaders: Private-Package
-fixupmessages: ^Classes found in the wrong directory: .*
Expand Down

0 comments on commit 604430d

Please sign in to comment.