Buck: Rename build target to match plugin name
For in tree Buck build to succeed the build target must match the
plugin name (and project name).
Change-Id: Iede27fd199a7f5b44d82285910c4282dd0d5d406
diff --git a/.buckconfig b/.buckconfig
index b69ef92..9fb438a 100644
--- a/.buckconfig
+++ b/.buckconfig
@@ -1,6 +1,7 @@
[alias]
- xdocs = //:xdocs
- plugin = //:xdocs
+ xdocs = //:x-docs
+ x-docs = //:x-docs
+ plugin = //:x-docs
[java]
src_roots = java, resources
diff --git a/BUCK b/BUCK
index 7a43f6f..393a427 100644
--- a/BUCK
+++ b/BUCK
@@ -1,7 +1,7 @@
include_defs('//bucklets/gerrit_plugin.bucklet')
gerrit_plugin(
- name = 'xdocs',
+ name = 'x-docs',
srcs = glob(['src/main/java/**/*.java']),
resources = glob(['src/main/resources/**/*']),
manifest_entries = [
@@ -16,6 +16,6 @@
# this is required for bucklets/tools/eclipse/project.py to work
java_library(
name = 'classpath',
- deps = [':xdocs__plugin'],
+ deps = [':x-docs__plugin'],
)