diff options
author | David Pursehouse <dpursehouse@collab.net> | 2016-12-07 22:02:18 +0900 |
---|---|---|
committer | David Pursehouse <dpursehouse@collab.net> | 2016-12-07 22:02:18 +0900 |
commit | 0ed3b13df0b4f88c67ece722e56e554f8f38e83a (patch) | |
tree | 333017175a7e8efec0481639742717ac9d10415e | |
parent | f9a49639a7b658353cf22b60cf8ccd1db97fef8a (diff) |
Bazel: Reformat BUILD file with buildifier
Change-Id: Idf31346cdba78e897ff8d6427a2b929eb890c7fe
-rw-r--r-- | BUILD | 70 |
1 files changed, 36 insertions, 34 deletions
@@ -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", + ], ) |