Remove Buck build
Change-Id: I9f25d5e66542002f5935b17fcf397f8b019b1338
diff --git a/.buckconfig b/.buckconfig
deleted file mode 100644
index 1e0af75..0000000
--- a/.buckconfig
+++ /dev/null
@@ -1,8 +0,0 @@
-[alias]
- plugin = //:server-config
-
-[java]
- src_roots = java, resources
-
-[project]
- ignore = .git
diff --git a/.gitignore b/.gitignore
index f9fe05c..80d6257 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,10 +1,5 @@
-/buck-out
/target
/.classpath
/.project
/.settings/org.maven.ide.eclipse.prefs
/.settings/org.eclipse.m2e.core.prefs
-bucklets
-.buckversion
-.watchmanconfig
-.buckd
diff --git a/BUCK b/BUCK
deleted file mode 100644
index f217837..0000000
--- a/BUCK
+++ /dev/null
@@ -1,27 +0,0 @@
-include_defs('//bucklets/gerrit_plugin.bucklet')
-
-gerrit_plugin(
- name = 'server-config',
- srcs = glob(['src/main/java/**/*.java']),
- resources = glob(['src/main/resources/**/*']),
- manifest_entries = [
- 'Gerrit-PluginName: server-config',
- 'Gerrit-HttpModule: com.googlesource.gerrit.plugins.serverconfig.HttpModule',
- ]
-)
-
-# 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 = [':server-config__plugin'],
-)
-
-java_test(
- name = 'server-config_tests',
- srcs = glob(['src/test/java/**/*.java']),
- labels = ['server-config'],
- deps = GERRIT_PLUGIN_API + GERRIT_TESTS + [
- ':server-config__plugin'
- ],
-)
diff --git a/VERSION b/VERSION
deleted file mode 100644
index 3a7a6e8..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 = '1.0-SNAPSHOT'
diff --git a/lib/BUCK b/lib/BUCK
deleted file mode 100644
index dc55495..0000000
--- a/lib/BUCK
+++ /dev/null
@@ -1,17 +0,0 @@
-include_defs('//bucklets/maven_jar.bucklet')
-
-maven_jar(
- name = 'junit',
- id = 'junit:junit:4.11',
- sha1 = '4e031bb61df09069aeb2bffb4019e7a5034a4ee0',
- license = 'DO_NOT_DISTRIBUTE',
- deps = [':hamcrest-core'],
-)
-
-maven_jar(
- name = 'hamcrest-core',
- id = 'org.hamcrest:hamcrest-core:1.3',
- sha1 = '42a25dc3219429f0e5d060061f71acb49bf010a0',
- license = 'DO_NOT_DISTRIBUTE',
- visibility = ['//lib:junit'],
-)
diff --git a/lib/gerrit/BUCK b/lib/gerrit/BUCK
deleted file mode 100644
index a197eb1..0000000
--- a/lib/gerrit/BUCK
+++ /dev/null
@@ -1,12 +0,0 @@
-include_defs('//bucklets/maven_jar.bucklet')
-
-VER = '2.11-SNAPSHOT'
-REPO = MAVEN_LOCAL
-
-maven_jar(
- name = 'plugin-api',
- id = 'com.google.gerrit:gerrit-plugin-api:' + VER,
- attach_source = False,
- repository = REPO,
- license = 'Apache2.0',
-)