From 0ed3b13df0b4f88c67ece722e56e554f8f38e83a Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Wed, 7 Dec 2016 22:02:18 +0900 Subject: Bazel: Reformat BUILD file with buildifier Change-Id: Idf31346cdba78e897ff8d6427a2b929eb890c7fe --- BUILD | 70 ++++++++++++++++++++++++++++++++++--------------------------------- 1 file 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", + ], ) -- cgit v1.2.3