Remove Buck build

Change-Id: I793227bdfcbffe8c558677712e5af85cf22c57e9
diff --git a/.buckconfig b/.buckconfig
deleted file mode 100644
index 0a84b64..0000000
--- a/.buckconfig
+++ /dev/null
@@ -1,15 +0,0 @@
-[alias]
-  project-group-structure = //:project-group-structure
-  plugin = //:project-group-structure
-  src = //:project-group-structure-sources
-
-[java]
-  src_roots = java, resources
-
-[project]
-  ignore = .git
-
-[cache]
-  mode = dir
-  dir = buck-out/cache
-
diff --git a/.gitignore b/.gitignore
index cb092fe..0868480 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,11 +1,5 @@
-/.buckd
-/.buckversion
 /.classpath
 /.primary_build_tool
 /.project
 /.settings/
-/.watchmanconfig
 /bazel-*
-/buck-out
-/bucklets
-/eclipse-out/
diff --git a/BUCK b/BUCK
deleted file mode 100644
index 84af6a0..0000000
--- a/BUCK
+++ /dev/null
@@ -1,68 +0,0 @@
-include_defs('//bucklets/gerrit_plugin.bucklet')
-include_defs('//bucklets/java_sources.bucklet')
-include_defs('//bucklets/maven_jar.bucklet')
-
-SOURCES = glob(['src/main/java/**/*.java'])
-RESOURCES = glob(['src/main/resources/**/*'])
-
-TEST_DEPS = GERRIT_TESTS + GERRIT_PLUGIN_API + [
-  ':project-group-structure__plugin',
-  # bazlets include those 3 bouncycastle jars in plugin API so this is temporary
-  # until this plugin is built with bazel.
-  # see https://gerrit-review.googlesource.com/#/c/102670/ for more info.
-  ':bouncycastle_bcprov',
-  ':bouncycastle_bcpg',
-  ':bouncycastle_bcpkix',
-]
-
-gerrit_plugin(
-  name = 'project-group-structure',
-  srcs = SOURCES,
-  resources = RESOURCES,
-  manifest_entries = [
-    'Gerrit-PluginName: project-group-structure',
-    'Gerrit-ApiType: plugin',
-    'Gerrit-Module: com.ericsson.gerrit.plugins.projectgroupstructure.Module',
-    'Implementation-Title: project-group-structure plugin',
-    'Implementation-URL: https://gerrit-review.googlesource.com/#/admin/projects/plugins/project-group-structure',
-    'Implementation-Vendor: Ericsson',
-  ],
-)
-
-java_test(
-  name = 'project-group-structure-tests',
-  srcs = glob(['src/test/java/**/*.java']),
-  labels = ['project-group-structure'],
-  deps = TEST_DEPS,
-)
-
-java_sources(
-  name = 'project-group-structure-sources',
-  srcs = SOURCES + RESOURCES,
-)
-
-# this is required for bucklets/tools/eclipse/project.py to work
-java_library(
-  name = 'classpath',
-  deps = TEST_DEPS,
-)
-
-BC_VERS = '1.56'
-
-maven_jar(
-  name = 'bouncycastle_bcprov',
-  id = 'org.bouncycastle:bcprov-jdk15on:' + BC_VERS,
-  sha1 = 'a153c6f9744a3e9dd6feab5e210e1c9861362ec7',
-)
-
-maven_jar(
-  name = 'bouncycastle_bcpg',
-  id = 'org.bouncycastle:bcpg-jdk15on:' + BC_VERS,
-  sha1 = '9c3f2e7072c8cc1152079b5c25291a9f462631f1',
-)
-
-maven_jar(
-  name = 'bouncycastle_bcpkix',
-  id = 'org.bouncycastle:bcpkix-jdk15on:' + BC_VERS,
-  sha1 = '4648af70268b6fdb24674fb1fd7c1fcc73db1231',
-)
diff --git a/lib/gerrit/BUCK b/lib/gerrit/BUCK
deleted file mode 100644
index 934d087..0000000
--- a/lib/gerrit/BUCK
+++ /dev/null
@@ -1,19 +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 = 'acceptance-framework',
-  id = 'com.google.gerrit:gerrit-acceptance-framework:' + VER,
-  license = 'Apache2.0',
-  attach_source = False,
-  repository = REPO,
-)