Remove buck build
Change-Id: Ic04dc86533ee99c9a44cd12ffa3f5b45e51750ca
diff --git a/.buckconfig b/.buckconfig
deleted file mode 100644
index 8301d1b..0000000
--- a/.buckconfig
+++ /dev/null
@@ -1,14 +0,0 @@
-[alias]
- quota = //:quota
- plugin = //:quota
-
-[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 289b610..0000000
--- a/BUCK
+++ /dev/null
@@ -1,35 +0,0 @@
-include_defs('//bucklets/gerrit_plugin.bucklet')
-
-gerrit_plugin(
- name = 'quota',
- srcs = glob(['src/main/java/**/*.java']),
- resources = glob(['src/main/resources/**/*']),
- manifest_entries = [
- 'Gerrit-PluginName: quota',
- 'Gerrit-Module: com.googlesource.gerrit.plugins.quota.Module',
- ],
- provided_deps = [
- '//lib/commons:lang',
- ]
-)
-
-# this is required for bucklets/tools/eclipse/project.py to work
-# not sure, if this does something useful in standalone context
-java_library(
- name = 'classpath',
- deps = [':quota__plugin'],
-)
-
-java_test(
- name = 'quota_tests',
- srcs = glob(['src/test/java/**/*.java']),
- labels = ['quota'],
- deps = GERRIT_PLUGIN_API + [
- ':quota__plugin',
- '//lib:junit',
- '//lib/easymock:easymock',
- '//lib/log:log4j',
- '//lib/log:impl_log4j',
- ],
- source_under_test = [':quota__plugin'],
-)
diff --git a/VERSION b/VERSION
deleted file mode 100644
index cfb4e97..0000000
--- a/VERSION
+++ /dev/null
@@ -1,4 +0,0 @@
-# Used by BUCK to include "Implementation-Version" in plugin Manifest.
-# If this file doesn't exist the output of 'git describe' is used
-# instead.
-PLUGIN_VERSION = '2.12-SNAPSHOT'
diff --git a/lib/BUCK b/lib/BUCK
deleted file mode 100644
index 6959cde..0000000
--- a/lib/BUCK
+++ /dev/null
@@ -1,19 +0,0 @@
-include_defs('//bucklets/maven_jar.bucklet')
-
-maven_jar(
- name = 'junit',
- id = 'junit:junit:4.11',
- sha1 = '4e031bb61df09069aeb2bffb4019e7a5034a4ee0',
- attach_source = False,
- license = 'DO_NOT_DISTRIBUTE',
- deps = [':hamcrest-core'],
-)
-
-maven_jar(
- name = 'hamcrest-core',
- id = 'org.hamcrest:hamcrest-core:1.3',
- sha1 = '42a25dc3219429f0e5d060061f71acb49bf010a0',
- attach_source = False,
- license = 'DO_NOT_DISTRIBUTE',
- visibility = ['//lib:junit'],
-)
diff --git a/lib/commons/BUCK b/lib/commons/BUCK
deleted file mode 100644
index be9dfe5..0000000
--- a/lib/commons/BUCK
+++ /dev/null
@@ -1,11 +0,0 @@
-include_defs('//bucklets/maven_jar.bucklet')
-
-maven_jar(
- name = 'lang',
- id = 'commons-lang:commons-lang:2.5',
- sha1 = 'b0236b252e86419eef20c31a44579d2aee2f0a69',
- exclude = ['META-INF/LICENSE.txt', 'META-INF/NOTICE.txt'],
- attach_source = False,
- license = 'Apache2.0',
-)
-
diff --git a/lib/easymock/BUCK b/lib/easymock/BUCK
deleted file mode 100644
index 0a4eb4d..0000000
--- a/lib/easymock/BUCK
+++ /dev/null
@@ -1,31 +0,0 @@
-include_defs('//bucklets/maven_jar.bucklet')
-
-maven_jar(
- name = 'easymock',
- id = 'org.easymock:easymock:3.4',
- sha1 = '9fdeea183a399f25c2469497612cad131e920fa3',
- license = 'DO_NOT_DISTRIBUTE',
- attach_source = False,
- deps = [
- ':cglib-2_2',
- ':objenesis',
- ],
-)
-
-maven_jar(
- name = 'cglib-2_2',
- id = 'cglib:cglib-nodep:2.2.2',
- sha1 = '00d456bb230c70c0b95c76fb28e429d42f275941',
- license = 'DO_NOT_DISTRIBUTE',
- attach_source = False,
-)
-
-maven_jar(
- name = 'objenesis',
- id = 'org.objenesis:objenesis:1.2',
- sha1 = 'bfcb0539a071a4c5a30690388903ac48c0667f2a',
- license = 'DO_NOT_DISTRIBUTE',
- visibility = ['//lib/powermock:powermock-reflect'],
- attach_source = False,
-)
-
diff --git a/lib/gerrit/BUCK b/lib/gerrit/BUCK
deleted file mode 100644
index fefa172..0000000
--- a/lib/gerrit/BUCK
+++ /dev/null
@@ -1,14 +0,0 @@
-include_defs('//bucklets/maven_jar.bucklet')
-
-VER = '2.13.3'
-REPO = MAVEN_CENTRAL
-
-maven_jar(
- name = 'plugin-api',
- id = 'com.google.gerrit:gerrit-plugin-api:' + VER,
- sha1 = '78df190269b0d5a4bc4f61ab3a66a49252b779eb',
- attach_source = False,
- repository = REPO,
- license = 'Apache2.0',
-)
-
diff --git a/lib/log/BUCK b/lib/log/BUCK
deleted file mode 100644
index be5cac5..0000000
--- a/lib/log/BUCK
+++ /dev/null
@@ -1,21 +0,0 @@
-include_defs('//bucklets/maven_jar.bucklet')
-
-VER = '1.7.7'
-
-maven_jar(
- name = 'impl_log4j',
- id = 'org.slf4j:slf4j-log4j12:' + VER,
- sha1 = '58f588119ffd1702c77ccab6acb54bfb41bed8bd',
- license = 'slf4j',
- deps = [':log4j'],
- attach_source = False,
-)
-
-maven_jar(
- name = 'log4j',
- id = 'log4j:log4j:1.2.17',
- sha1 = '5af35056b4d257e4b64b9e8069c0746e8b08629f',
- license = 'Apache2.0',
- exclude = ['META-INF/LICENSE', 'META-INF/NOTICE'],
- attach_source = False,
-)