• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
2load("@stardoc//stardoc:stardoc.bzl", "stardoc")
3
4exports_files(
5    ["rules.md"],
6    visibility = ["//test:__pkg__"],
7)
8
9bzl_library(
10    name = "rules_bzl",
11    srcs = ["rules.bzl"],
12    deps = [
13        "//java/bazel/rules",
14        "//java/common/rules:toolchain_rules",
15    ],
16)
17
18stardoc(
19    name = "rules_docs",
20    out = "rules_docs.out",
21    input = "rules.bzl",
22    rule_template = ":rule.vm",
23    symbol_names = [
24        # core rules
25        "java_binary",
26        "java_import",
27        "java_library",
28        "java_plugin",
29        "java_test",
30
31        # toolchain rules
32        "java_package_configuration",
33        "java_runtime",
34        "java_toolchain",
35    ],
36    table_of_contents_template = "@stardoc//stardoc:templates/markdown_tables/table_of_contents.vm",
37    visibility = ["//test:__pkg__"],
38    deps = [":rules_bzl"],
39)
40