Skip to content

Commit de4a1d9

Browse files
authored
fix: apply neverlink = True to jars (#226)
Prevent the implicit inclusion of JRuby's jars into jars made from .java files that have a compile-time dependency on JRuby. Addresses the root cause of protocolbuffers/protobuf#21369 and will enable the eventual rollback of protocolbuffers/protobuf#21416.
1 parent 26e0ba6 commit de4a1d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ruby/private/download/BUILD.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ java_import(
3333
["dist/lib/**/*.jar"],
3434
allow_empty = True,
3535
),
36+
neverlink = True,
3637
)
3738

3839
rb_toolchain(

0 commit comments

Comments
 (0)