| load("@com_googlesource_gerrit_bazlets//tools:javadoc.bzl", "java_doc") |
| load("@rules_java//java:defs.bzl", "java_library") |
| load("//tools:stamper.bzl", "stamp") |
| |
| java_library( |
| name = "cache", |
| srcs = glob(["**/*.java"]), |
| visibility = ["//visibility:public"], |
| deps = [ |
| "//lib:guava", |
| "//lib:jgit", |
| ], |
| ) |
| |
| java_doc( |
| name = "cache-javadoc", |
| libs = [ |
| ":cache", |
| "//lib:guava", |
| "//lib:jgit", |
| ], |
| pkgs = ["com.google.gitiles.blame.cache"], |
| title = "Blame Cache API Documentation", |
| visibility = ["//visibility:public"], |
| ) |
| |
| stamp( |
| name = "cache", |
| workspace = "gitiles", |
| ) |