Flag: --incompatible_dont_collect_so_artifacts
Available since: 5.0.0
Flipped in: 5.0.0
Rules java_library, java_binary and java_test will stop collecting .so libraries directly, which may happen when they are provided using filegroup or genrule targets. so libraries were collected from deps, runtime_deps, exports and data attributes.
Migration
Use cc_binary or cc_import rule to import the library or point directly to those targets from Java targets. When needed pass it using an alias instead of filegroup.
Flag:
--incompatible_dont_collect_so_artifactsAvailable since: 5.0.0
Flipped in: 5.0.0
Rules
java_library,java_binaryandjava_testwill stop collecting.solibraries directly, which may happen when they are provided usingfilegrouporgenruletargets.solibraries were collected fromdeps,runtime_deps,exportsanddataattributes.Migration
Use
cc_binaryorcc_importrule to import the library or point directly to those targets from Java targets. When needed pass it using analiasinstead offilegroup.