forked from googleapis/gax-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
28 lines (23 loc) · 764 Bytes
/
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
load("//:gax_java.bzl", "google_java_format", "google_java_format_verification")
exports_files(["dependencies.properties"])
JAVA_COPTS = [
"-source",
"1.7",
"-target",
"1.7",
]
java_plugin(
name = "auto_value_plugin",
processor_class = "com.google.auto.value.processor.AutoValueProcessor",
deps = ["@com_google_auto_value_auto_value//jar"],
visibility = ["//visibility:public"],
)
# google-java-format
java_binary(
name = "google_java_format_binary",
# Not letting the formatter consume too much memory (essential for CI builds)
jvm_flags = ["-Xmx512m"],
main_class = "com.google.googlejavaformat.java.Main",
visibility = ["//visibility:public"],
runtime_deps = ["@google_java_format_all_deps//jar"],
)