Skip to content

Commit

Permalink
[BEAM-5919] Exclude META-INF from validation of shaded jar files
Browse files Browse the repository at this point in the history
The rule used to match a "class" file added by Java 9 that is put underneath META-INF
  • Loading branch information
lukecwik committed Oct 30, 2018
1 parent 4450c92 commit 15d7a77
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,7 @@ class BeamModulePlugin implements Plugin<Project> {
project.configurations.shadow.artifacts.files.each {
FileTree exposedClasses = project.zipTree(it).matching {
include "**/*.class"
exclude "META-INF/**" // BEAM-5919: Exclude module-info.class for Java 9 build support
exclude "org/apache/beam/**"
}
if (exposedClasses.files) {
Expand Down

0 comments on commit 15d7a77

Please sign in to comment.