Skip to content

incompatible_dont_collect_so_artifacts #13043

@comius

Description

@comius

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions