How resource path resolution works with resource_strip_prefix across module boundaries
masterWhen using resource_strip_prefix in a Kotlin target, rules_kotlin ensures that resource paths are correctly resolved even when the target depends on an external Bazel module.
If a library in an external module (e.g., @nested//:library) defines resources with a specific resource_strip_prefix, the rules must correctly identify the resource path relative to that prefix, regardless of whether the external module's directory is included in .bazelignore or how the module path is prefixed in the filesystem.
In a correctly functioning setup, a resource located at nested/resourcez/resource.txt with resource_strip_prefix = "resourcez" will be correctly stripped, allowing the application to access the resource via the path resource.txt.