File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ fun CopySpec.isolateClasses(jars: Iterable<File>) {
8686 from(zipTree(it)) {
8787 into(" inst" )
8888 rename(" ^(.*)\\ .class\$ " , " \$ 1.classdata" )
89- exclude(" META-INF/maven/**" )
9089 }
9190 }
9291}
Original file line number Diff line number Diff line change @@ -207,6 +207,8 @@ fun CopySpec.isolateClasses(jars: Iterable<File>) {
207207 rename(" ^(.*)\\ .class\$ " , " \$ 1.classdata" )
208208 // Rename LICENSE file since it clashes with license dir on non-case sensitive FSs (i.e. Mac)
209209 rename(""" ^LICENSE$""" , " LICENSE.renamed" )
210+ // excluding pom.xml files that are embedded in several dependencies
211+ // in order to avoid false positives from security scanners
210212 exclude(" META-INF/maven/**" )
211213 }
212214 }
You can’t perform that action at this time.
0 commit comments