grpc-kotlin icon indicating copy to clipboard operation
grpc-kotlin copied to clipboard

Fix file paths in generated source jars

Open alexenvoy opened this issue 1 year ago • 2 comments
trafficstars

When using the Bazel zipper to generate the source jar, the entire path starting from bazel-out is sent to the ijar tool, which becomes the paths to the source files inside the generated jar. To remove this unnecessary prefix and produce source jars with directory structure matching standard Java source jars, we can use the dest=src argument style for the ijar tool, using each file's relative paths as the dest part. This produces source jars with the expected directory structure.

alexenvoy avatar Jan 05 '24 06:01 alexenvoy