forked from googleapis/gapic-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
57 lines (53 loc) · 1.9 KB
/
BUILD.bazel
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
java_plugin(
name = "auto_value_plugin",
processor_class = "com.google.auto.value.processor.AutoValueProcessor",
deps = ["@com_google_auto_value_auto_value//jar"],
)
java_library(
name = "auto_value",
exported_plugins = [":auto_value_plugin"],
exports = ["@com_google_auto_value_auto_value//jar"],
)
proto_library(
name = "config_proto",
srcs = ["src/main/proto/com/google/api/codegen/config.proto"],
)
java_proto_library(
name = "config_java_proto",
deps = [":config_proto"],
)
java_binary(
name = "gapic_generator",
srcs = glob(["src/main/java/**/*.java"]),
resources = glob(["src/main/resources/**/*"]),
main_class = "com.google.api.codegen.gapic.GapicGeneratorTool",
create_executable = True,
deps = [
":config_java_proto",
":auto_value",
"@cglib_cglib//jar",
"@com_atlassian_commonmark_commonmark//jar",
"@com_fasterxml_jackson_core_jackson_annotations//jar",
"@com_fasterxml_jackson_core_jackson_core//jar",
"@com_fasterxml_jackson_core_jackson_databind//jar",
"@com_google_api_api_common//jar",
"@com_google_api_api_compiler//jar",
"@com_google_api_gax//jar",
"@com_google_api_grpc_proto_google_common_protos//jar",
"@com_google_auto_value_auto_value//jar",
"@com_google_auto_value_auto_value_annotations//jar",
"@com_google_code_findbugs_jsr305//jar",
"@com_google_code_gson_gson//jar",
"@com_google_guava_guava//jar",
"@com_google_inject_guice//jar",
"@com_google_protobuf//:protobuf_java",
"@commons_cli_commons_cli//jar",
"@io_grpc_grpc_core//jar",
"@javax_inject_javax_inject//jar",
"@org_apache_commons_commons_lang3//jar",
"@org_ow2_asm_asm//jar",
"@org_threeten_threetenbp//jar",
"@org_yaml_snakeyaml//jar",
],
visibility = ["//visibility:public"],
)