-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathBUILD.bazel
More file actions
34 lines (30 loc) · 838 Bytes
/
BUILD.bazel
File metadata and controls
34 lines (30 loc) · 838 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
load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier")
load("@rules_java//java:defs.bzl", "java_binary")
load("format-java.bzl", "format_java")
# Bazel buildifier: auto formats bazel files.
buildifier(
name = "buildifier",
exclude_patterns = [
"./third_party/**",
"./experiments/GDPRbench",
],
lint_mode = "fix",
)
# Turn the maven repository to an executable jar.
java_binary(
name = "google_java_format_binary",
main_class = "com.google.googlejavaformat.java.Main",
runtime_deps = [
"@maven//:com_google_googlejavaformat_google_java_format",
],
)
format_java(
name = "format_java",
tool = ":google_java_format_binary",
)
# Alias: k9db mysql proxy.
alias(
name = "k9db",
actual = "//k9db/proxy",
visibility = ["//visibility:public"],
)