Bazel: Reformat build files
Reformat the Bazel build files with the buildifier tool [1].
The style is different for Bazel files. Most notably, indentation level
is 4 spaces instead of 2, and " is used instead of '.
[1] https://github.com/bazelbuild/buildifier
Change-Id: I95c0c6f11b6d76572797853b4ebb5cee5ebd3c98
diff --git a/lib/httpcomponents/BUILD b/lib/httpcomponents/BUILD
index c11df29..2b2cc6f 100644
--- a/lib/httpcomponents/BUILD
+++ b/lib/httpcomponents/BUILD
@@ -1,53 +1,53 @@
-package(default_visibility = ['//visibility:public'])
+package(default_visibility = ["//visibility:public"])
java_library(
- name = 'fluent-hc',
- exports = ['@fluent_hc//jar'],
- runtime_deps = [':httpclient'],
- visibility = ['//visibility:public'],
- data = ['//lib:LICENSE-Apache2.0'],
+ name = "fluent-hc",
+ data = ["//lib:LICENSE-Apache2.0"],
+ visibility = ["//visibility:public"],
+ exports = ["@fluent_hc//jar"],
+ runtime_deps = [":httpclient"],
)
java_library(
- name = 'httpclient',
- exports = ['@httpclient//jar'],
- runtime_deps = [
- '//lib/commons:codec',
- ':httpcore',
- '//lib/log:jcl-over-slf4j',
- ],
- visibility = ['//visibility:public'],
- data = ['//lib:LICENSE-Apache2.0'],
+ name = "httpclient",
+ data = ["//lib:LICENSE-Apache2.0"],
+ visibility = ["//visibility:public"],
+ exports = ["@httpclient//jar"],
+ runtime_deps = [
+ ":httpcore",
+ "//lib/commons:codec",
+ "//lib/log:jcl-over-slf4j",
+ ],
)
java_library(
- name = 'httpcore',
- exports = ['@httpcore//jar'],
- visibility = ['//visibility:public'],
- data = ['//lib:LICENSE-Apache2.0'],
+ name = "httpcore",
+ data = ["//lib:LICENSE-Apache2.0"],
+ visibility = ["//visibility:public"],
+ exports = ["@httpcore//jar"],
)
java_library(
- name = 'httpmime',
- exports = ['@httpmime//jar'],
- visibility = ['//visibility:public'],
- data = ['//lib:LICENSE-Apache2.0'],
+ name = "httpmime",
+ data = ["//lib:LICENSE-Apache2.0"],
+ visibility = ["//visibility:public"],
+ exports = ["@httpmime//jar"],
)
java_library(
- name = 'httpasyncclient',
- exports = [ '@httpasyncclient//jar' ],
- data = ['//lib:LICENSE-Apache2.0'],
+ name = "httpasyncclient",
+ data = ["//lib:LICENSE-Apache2.0"],
+ exports = ["@httpasyncclient//jar"],
)
java_library(
- name = 'httpcore-nio',
- exports = [ '@httpcore_nio//jar' ],
- data = ['//lib:LICENSE-Apache2.0'],
+ name = "httpcore-nio",
+ data = ["//lib:LICENSE-Apache2.0"],
+ exports = ["@httpcore_nio//jar"],
)
java_library(
- name = 'httpcore-niossl',
- exports = ['@httpcore_niossl//jar'],
- data = ['//lib:LICENSE-Apache2.0'],
+ name = "httpcore-niossl",
+ data = ["//lib:LICENSE-Apache2.0"],
+ exports = ["@httpcore_niossl//jar"],
)