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
This commit is contained in:
committed by
David Pursehouse
parent
8836c8bbfe
commit
fa18907d7f
@@ -1,30 +1,30 @@
|
||||
load('//tools/bzl:junit.bzl', 'junit_tests')
|
||||
load("//tools/bzl:junit.bzl", "junit_tests")
|
||||
|
||||
java_library(
|
||||
name = 'cache-h2',
|
||||
srcs = glob(['src/main/java/**/*.java']),
|
||||
deps = [
|
||||
'//gerrit-common:server',
|
||||
'//gerrit-extension-api:api',
|
||||
'//gerrit-server:server',
|
||||
'//lib:guava',
|
||||
'//lib:h2',
|
||||
'//lib/guice:guice',
|
||||
'//lib/jgit/org.eclipse.jgit:jgit',
|
||||
'//lib/log:api',
|
||||
],
|
||||
visibility = ['//visibility:public'],
|
||||
name = "cache-h2",
|
||||
srcs = glob(["src/main/java/**/*.java"]),
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"//gerrit-common:server",
|
||||
"//gerrit-extension-api:api",
|
||||
"//gerrit-server:server",
|
||||
"//lib:guava",
|
||||
"//lib:h2",
|
||||
"//lib/guice",
|
||||
"//lib/jgit/org.eclipse.jgit:jgit",
|
||||
"//lib/log:api",
|
||||
],
|
||||
)
|
||||
|
||||
junit_tests(
|
||||
name = 'tests',
|
||||
srcs = glob(['src/test/java/**/*.java']),
|
||||
deps = [
|
||||
':cache-h2',
|
||||
'//gerrit-server:server',
|
||||
'//lib:guava',
|
||||
'//lib:h2',
|
||||
'//lib/guice:guice',
|
||||
'//lib:junit',
|
||||
],
|
||||
name = "tests",
|
||||
srcs = glob(["src/test/java/**/*.java"]),
|
||||
deps = [
|
||||
":cache-h2",
|
||||
"//gerrit-server:server",
|
||||
"//lib:guava",
|
||||
"//lib:h2",
|
||||
"//lib:junit",
|
||||
"//lib/guice",
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user