forked from bazel-contrib/rules_jvm_external
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
92 lines (84 loc) · 2.37 KB
/
BUILD
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
load("@io_bazel_stardoc//stardoc:stardoc.bzl", "stardoc")
exports_files(["defs.bzl"])
licenses(["notice"]) # Apache 2.0
exports_files(
[
"docs/includes/main_functions_header.md",
"docs/includes/spec_functions_header.md",
],
visibility = ["//scripts:__pkg__"],
)
stardoc(
name = "defs",
out = "defs.md",
input = "defs.bzl",
symbol_names = [
"javadoc",
"java_export",
"maven_bom",
"maven_install",
],
visibility = ["//scripts:__pkg__"],
deps = ["//:implementation"],
)
stardoc(
name = "specs",
out = "specs.md",
input = "specs.bzl",
symbol_names = [
"maven.artifact",
"maven.repository",
"maven.exclusion",
],
visibility = ["//scripts:__pkg__"],
deps = ["//:implementation"],
)
bzl_library(
name = "implementation",
srcs = [
":coursier.bzl",
":defs.bzl",
":specs.bzl",
"//private:artifact_utilities.bzl",
"//private:constants.bzl",
"//private:coursier_utilities.bzl",
"//private:dependency_tree_parser.bzl",
"//private:java_utilities.bzl",
"//private:proxy.bzl",
"//private:versions.bzl",
"//private/rules:artifact.bzl",
"//private/rules:has_maven_deps.bzl",
"//private/rules:java_export.bzl",
"//private/rules:javadoc.bzl",
"//private/rules:jvm_import.bzl",
"//private/rules:maven_bom.bzl",
"//private/rules:maven_bom_fragment.bzl",
"//private/rules:maven_install.bzl",
"//private/rules:maven_project_jar.bzl",
"//private/rules:maven_publish.bzl",
"//private/rules:maven_utils.bzl",
"//private/rules:pom_file.bzl",
"//private/rules:urls.bzl",
"//private/rules:v1_lock_file.bzl",
"//private/rules:v2_lock_file.bzl",
"//settings:stamp_manifest.bzl",
],
visibility = [
# This library is only visible to allow others who depend on
# `rules_jvm_external` to be able to document their code using
# stardoc.
"//visibility:public",
],
deps = [
"@rules_java//java:rules",
],
)
alias(
name = "mirror_coursier",
actual = "//scripts:mirror_coursier",
)
alias(
name = "generate_api_reference",
actual = "//scripts:generate_api_reference",
)