[bazel] Create better static libraries and add basic publishing (#8029)

This commit is contained in:
PJ Reiniger
2025-06-27 19:36:12 -04:00
committed by GitHub
parent 22b58c1853
commit e13d237390
38 changed files with 1445 additions and 216 deletions

View File

@@ -0,0 +1,21 @@
load("@bazel_skylib//rules:write_file.bzl", "write_file")
load("@rules_pkg//:mappings.bzl", "pkg_files")
# Generate this because otherwise the linter wants to change the format.
write_file(
name = "manifest_write",
out = "MANIFEST.MF",
content = [
"Manifest-Version: 1.0",
"",
],
)
pkg_files(
name = "src_jar_dummy_manifest",
srcs = [
"MANIFEST.MF",
],
prefix = "META-INF",
visibility = ["//visibility:public"],
)