forked from bazelbuild/rules_java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.bazel
More file actions
41 lines (36 loc) · 971 Bytes
/
Copy pathBUILD.bazel
File metadata and controls
41 lines (36 loc) · 971 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
load("@stardoc//stardoc:stardoc.bzl", "stardoc")
package(default_applicable_licenses = ["@rules_java//:license"])
exports_files(
["rules.md"],
visibility = ["//test:__pkg__"],
)
bzl_library(
name = "rules_bzl",
srcs = ["rules.bzl"],
deps = [
"//java/bazel/rules",
"//java/common/rules:toolchain_rules",
],
)
stardoc(
name = "rules_docs",
out = "rules_docs.out",
input = "rules.bzl",
rule_template = ":rule.vm",
symbol_names = [
# core rules
"java_binary",
"java_import",
"java_library",
"java_plugin",
"java_test",
# toolchain rules
"java_package_configuration",
"java_runtime",
"java_toolchain",
],
table_of_contents_template = "@stardoc//stardoc:templates/markdown_tables/table_of_contents.vm",
visibility = ["//test:__pkg__"],
deps = [":rules_bzl"],
)