Remove buck build
Change-Id: If8d352a3e2be2825173f7cb4fcea969b9452c2d4
diff --git a/.buckconfig b/.buckconfig
deleted file mode 100644
index 0941191..0000000
--- a/.buckconfig
+++ /dev/null
@@ -1,13 +0,0 @@
-[alias]
- verify-status = //:verify-status
- plugin = //:verify-status
-
-[java]
- src_roots = java, resources
-
-[project]
- ignore = .git
-
-[cache]
- mode = dir
- dir = buck-out/cache
diff --git a/BUCK b/BUCK
deleted file mode 100644
index 8c37db7..0000000
--- a/BUCK
+++ /dev/null
@@ -1,38 +0,0 @@
-include_defs('//bucklets/gerrit_plugin.bucklet')
-
-MODULE = 'com.googlesource.gerrit.plugins.verifystatus.VerifyStatusForm'
-
-gerrit_plugin(
- name = 'verify-status',
- srcs = glob(['src/main/java/**/*.java']),
- resources = glob(['src/main/**/*']),
- gwt_module = MODULE,
- manifest_entries = [
- 'Gerrit-PluginName: verify-status',
- 'Gerrit-Module: com.googlesource.gerrit.plugins.verifystatus.GlobalModule',
- 'Gerrit-HttpModule: com.googlesource.gerrit.plugins.verifystatus.HttpModule',
- 'Gerrit-SshModule: com.googlesource.gerrit.plugins.verifystatus.SshModule',
- 'Gerrit-InitStep: com.googlesource.gerrit.plugins.verifystatus.init.InitPlugin',
- 'Implementation-Title: Verify Status Plugin',
- 'Implementation-URL: https://gerrit-review.googlesource.com/#/admin/projects/plugins/verify-status',
- ],
- provided_deps = [
- '//lib/commons:dbcp',
- ]
-)
-
-java_test(
- name = 'verify-status_tests',
- srcs = glob(['src/test/java/**/*IT.java']),
- labels = ['verify-status'],
- deps = GERRIT_PLUGIN_API + GERRIT_TESTS + [
- ':verify-status__plugin',
- ],
-)
-
-java_library(
- name = 'classpath',
- deps = GERRIT_PLUGIN_API + GERRIT_TESTS + [
- ':verify-status__plugin'
- ],
-)
diff --git a/lib/commons/BUCK b/lib/commons/BUCK
deleted file mode 100644
index 774de13..0000000
--- a/lib/commons/BUCK
+++ /dev/null
@@ -1,14 +0,0 @@
-include_defs('//bucklets/maven_jar.bucklet')
-
-maven_jar(
- name = 'dbcp',
- id = 'commons-dbcp:commons-dbcp:1.4',
- sha1 = '30be73c965cc990b153a100aaaaafcf239f82d39',
- license = 'Apache2.0',
- exclude = [
- 'META-INF/LICENSE.txt',
- 'META-INF/NOTICE.txt',
- 'testpool.jocl'
- ],
-)
-
diff --git a/lib/gerrit/BUCK b/lib/gerrit/BUCK
deleted file mode 100644
index f15fd7b..0000000
--- a/lib/gerrit/BUCK
+++ /dev/null
@@ -1,28 +0,0 @@
-include_defs('//bucklets/maven_jar.bucklet')
-
-VER = '2.14-SNAPSHOT'
-REPO = MAVEN_LOCAL
-
-maven_jar(
- name = 'plugin-api',
- id = 'com.google.gerrit:gerrit-plugin-api:' + VER,
- license = 'Apache2.0',
- attach_source = False,
- repository = REPO,
-)
-
-maven_jar(
- name = 'gwtui-api',
- id = 'com.google.gerrit:gerrit-plugin-gwtui:' + VER,
- license = 'Apache2.0',
- attach_source = False,
- repository = REPO,
-)
-
-maven_jar(
- name = 'acceptance-framework',
- id = 'com.google.gerrit:gerrit-acceptance-framework:' + VER,
- license = 'Apache2.0',
- attach_source = False,
- repository = REPO,
-)
diff --git a/lib/gwt/BUCK b/lib/gwt/BUCK
deleted file mode 100644
index 26e55d3..0000000
--- a/lib/gwt/BUCK
+++ /dev/null
@@ -1,73 +0,0 @@
-include_defs('//bucklets/maven_jar.bucklet')
-
-VERSION = '2.8.0'
-
-maven_jar(
- name = 'user',
- id = 'com.google.gwt:gwt-user:' + VERSION,
- sha1 = '518579870499e15531f454f35dca0772d7fa31f7',
- license = 'Apache2.0',
- attach_source = False,
-)
-
-maven_jar(
- name = 'dev',
- id = 'com.google.gwt:gwt-dev:' + VERSION,
- sha1 = 'f160a61272c5ebe805cd2d3d3256ed3ecf14893f',
- license = 'Apache2.0',
- attach_source = False,
-)
-
-maven_jar(
- name = 'javax-validation',
- id = 'javax.validation:validation-api:1.0.0.GA',
- bin_sha1 = 'b6bd7f9d78f6fdaa3c37dae18a4bd298915f328e',
- src_sha1 = '7a561191db2203550fbfa40d534d4997624cd369',
- license = 'Apache2.0',
- visibility = ['PUBLIC'],
-)
-
-maven_jar(
- name = 'jsinterop-annotations',
- id = 'com.google.jsinterop:jsinterop-annotations:1.0.0',
- bin_sha1 = '23c3a3c060ffe4817e67673cc8294e154b0a4a95',
- src_sha1 = '5d7c478efbfccc191430d7c118d7bd2635e43750',
- license = 'Apache2.0',
- visibility = ['PUBLIC'],
-)
-
-maven_jar(
- name = 'ant',
- id = 'ant:ant:1.6.5',
- bin_sha1 = '7d18faf23df1a5c3a43613952e0e8a182664564b',
- src_sha1 = '9e0a847494563f35f9b02846a1c1eb4aa2ee5a9a',
- license = 'Apache2.0',
- visibility = ['PUBLIC'],
-)
-
-maven_jar(
- name = 'colt',
- id = 'colt:colt:1.2.0',
- attach_source = False,
- bin_sha1 = '0abc984f3adc760684d49e0f11ddf167ba516d4f',
- license = 'DO_NOT_DISTRIBUTE',
- visibility = ['PUBLIC'],
-)
-
-maven_jar(
- name = 'tapestry',
- id = 'tapestry:tapestry:4.0.2',
- attach_source = False,
- bin_sha1 = 'e855a807425d522e958cbce8697f21e9d679b1f7',
- license = 'Apache2.0',
- visibility = ['PUBLIC'],
-)
-
-maven_jar(
- name = 'w3c-css-sac',
- id = 'org.w3c.css:sac:1.3',
- attach_source = False,
- bin_sha1 = 'cdb2dcb4e22b83d6b32b93095f644c3462739e82',
- license = 'DO_NOT_DISTRIBUTE',
- visibility = ['PUBLIC'],
-)
diff --git a/lib/ow2/BUCK b/lib/ow2/BUCK
deleted file mode 100644
index 543bc09..0000000
--- a/lib/ow2/BUCK
+++ /dev/null
@@ -1,39 +0,0 @@
-include_defs('//bucklets/maven_jar.bucklet')
-
-VERSION = '5.1'
-
-maven_jar(
- name = 'ow2-asm',
- id = 'org.ow2.asm:asm:' + VERSION,
- sha1 = '5ef31c4fe953b1fd00b8a88fa1d6820e8785bb45',
- license = 'ow2',
-)
-
-maven_jar(
- name = 'ow2-asm-analysis',
- id = 'org.ow2.asm:asm-analysis:' + VERSION,
- sha1 = '6d1bf8989fc7901f868bee3863c44f21aa63d110',
- license = 'ow2',
-)
-
-maven_jar(
- name = 'ow2-asm-commons',
- id = 'org.ow2.asm:asm-commons:' + VERSION,
- sha1 = '25d8a575034dd9cfcb375a39b5334f0ba9c8474e',
- deps = [':ow2-asm-tree'],
- license = 'ow2',
-)
-
-maven_jar(
- name = 'ow2-asm-tree',
- id = 'org.ow2.asm:asm-tree:' + VERSION,
- sha1 = '87b38c12a0ea645791ead9d3e74ae5268d1d6c34',
- license = 'ow2',
-)
-
-maven_jar(
- name = 'ow2-asm-util',
- id = 'org.ow2.asm:asm-util:' + VERSION,
- sha1 = 'b60e33a6bd0d71831e0c249816d01e6c1dd90a47',
- license = 'ow2',
-)
diff --git a/src/main/resources/Documentation/build.md b/src/main/resources/Documentation/build.md
index 2a502d7..3ba29d7 100644
--- a/src/main/resources/Documentation/build.md
+++ b/src/main/resources/Documentation/build.md
@@ -1,7 +1,7 @@
@PLUGIN@ Build
==============
-This plugin can be built with Bazel, Buck or Maven.
+This plugin can be built with Bazel or Maven.
Bazel
----
@@ -67,84 +67,6 @@
bazel test plugins/verify-status:verify_status_tests
```
-Buck
-----
-
-Two build modes are supported: Standalone and in Gerrit tree.
-The standalone build mode is recommended, as this mode doesn't require
-the Gerrit tree to exist locally.
-
-### Build standalone
-
-Clone bucklets library:
-
-```
- git clone https://gerrit.googlesource.com/bucklets
-
-```
-and link it to @PLUGIN@ plugin directory:
-
-```
- cd @PLUGIN@ && ln -s ../bucklets .
-```
-
-Add link to the .buckversion file:
-
-```
- cd @PLUGIN@ && ln -s bucklets/buckversion .buckversion
-```
-
-Add link to the .watchmanconfig file:
-```
- cd @PLUGIN@ && ln -s bucklets/watchmanconfig .watchmanconfig
-```
-
-To build the plugin, issue the following command:
-
-
-```
- buck build plugin
-```
-
-The output is created in
-
-```
- buck-out/gen/@PLUGIN@.jar
-```
-
-To execute the tests run:
-
-```
- buck test
-```
-
-### Build in Gerrit tree
-
-Clone or link this plugin to the plugins directory of Gerrit's source
-tree, and issue the command:
-
-```
- buck build plugins/@PLUGIN@
-```
-
-The output is created in
-
-```
- buck-out/gen/plugins/@PLUGIN@/@PLUGIN@.jar
-```
-
-This project can be imported into the Eclipse IDE:
-
-```
- ./tools/eclipse/project.py
-```
-
-To execute the tests run:
-
-```
- buck test --include @PLUGIN@
-```
-
Maven
-----
@@ -161,4 +83,4 @@
When building with Maven, the Gerrit Plugin API must be available.
How to build the Gerrit Plugin API is described in the [Gerrit
-documentation](../../../Documentation/dev-buck.html#_extension_and_plugin_api_jar_files).
+documentation](../../../Documentation/dev-bazel.html#_extension_and_plugin_api_jar_files).