summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse <dpursehouse@collab.net>2016-12-07 22:02:18 +0900
committerDavid Pursehouse <dpursehouse@collab.net>2016-12-07 22:02:18 +0900
commit0ed3b13df0b4f88c67ece722e56e554f8f38e83a (patch)
tree333017175a7e8efec0481639742717ac9d10415e
parentf9a49639a7b658353cf22b60cf8ccd1db97fef8a (diff)
Bazel: Reformat BUILD file with buildifier
-rw-r--r--BUILD70
1 files changed, 36 insertions, 34 deletions
diff --git a/BUILD b/BUILD
index 097d258..eb92f6d 100644
--- a/BUILD
+++ b/BUILD
@@ -1,43 +1,45 @@
-load('//tools/bzl:junit.bzl', 'junit_tests')
-load('//tools/bzl:plugin.bzl', 'gerrit_plugin')
+load("//tools/bzl:junit.bzl", "junit_tests")
+load("//tools/bzl:plugin.bzl", "gerrit_plugin")
gerrit_plugin(
- name = 'replication',
- srcs = glob(['src/main/java/**/*.java']),
- resources = glob(['src/main/resources/**/*']),
- manifest_entries = [
- 'Implementation-Title: Replication plugin',
- 'Implementation-URL: https://gerrit-review.googlesource.com/#/admin/projects/plugins/replication',
- 'Gerrit-PluginName: replication',
- 'Gerrit-Module: com.googlesource.gerrit.plugins.replication.ReplicationModule',
- 'Gerrit-SshModule: com.googlesource.gerrit.plugins.replication.SshModule'
- ],
- deps = [
- '//lib:commons-io',
- ],
+ name = "replication",
+ srcs = glob(["src/main/java/**/*.java"]),
+ manifest_entries = [
+ "Implementation-Title: Replication plugin",
+ "Implementation-URL: https://gerrit-review.googlesource.com/#/admin/projects/plugins/replication",
+ "Gerrit-PluginName: replication",
+ "Gerrit-Module: com.googlesource.gerrit.plugins.replication.ReplicationModule",
+ "Gerrit-SshModule: com.googlesource.gerrit.plugins.replication.SshModule",
+ ],
+ resources = glob(["src/main/resources/**/*"]),
+ deps = [
+ "//lib:commons-io",
+ ],
)
junit_tests(
- name = 'replication_tests',
- srcs = glob(['src/test/java/**/*Test.java']),
- tags = ['replication'],
- deps = [
- ':replication_util',
- ':replication__plugin',
- '//gerrit-acceptance-framework:lib',
- '//gerrit-plugin-api:lib',
- ],
- visibility = ['//visibility:public'],
+ name = "replication_tests",
+ srcs = glob(["src/test/java/**/*Test.java"]),
+ tags = ["replication"],
+ visibility = ["//visibility:public"],
+ deps = [
+ ":replication__plugin",
+ ":replication_util",
+ "//gerrit-acceptance-framework:lib",
+ "//gerrit-plugin-api:lib",
+ ],
)
java_library(
- name = 'replication_util',
- srcs = glob(['src/test/java/**/*.java'],
- exclude = ['src/test/java/**/*Test.java']),
- deps = [
- ':replication__plugin',
- '//gerrit-acceptance-framework:lib',
- '//gerrit-plugin-api:lib',
- ],
- testonly = 1,
+ name = "replication_util",
+ testonly = 1,
+ srcs = glob(
+ ["src/test/java/**/*.java"],
+ exclude = ["src/test/java/**/*Test.java"],
+ ),
+ deps = [
+ ":replication__plugin",
+ "//gerrit-acceptance-framework:lib",
+ "//gerrit-plugin-api:lib",
+ ],
)