Add BUCK driven build
diff --git a/BUCK b/BUCK
new file mode 100644
index 0000000..733e4fd
--- /dev/null
+++ b/BUCK
@@ -0,0 +1,22 @@
+include_defs('//lib/maven.defs')
+
+gerrit_plugin(
+ name = 'rabbitmq',
+ srcs = glob(['src/main/java/**/*.java']),
+ resources = glob(['src/main/resources/**/*']),
+ manifest_entries = [
+ 'Implementation-Title: Rabbitmq plugin',
+ 'Implementation-URL: https://github.com/rinrinne/gerrit-rabbitmq-plugin',
+ 'Gerrit-PluginName: rabbitmq',
+ 'Gerrit-Module: com.googlesource.gerrit.plugins.rabbitmq.Module',
+ ],
+ deps = [
+ ':rabbitmq-amqp-client',
+ ],
+)
+
+maven_jar(
+ name = 'rabbitmq-amqp-client',
+ id = 'com.rabbitmq:amqp-client:3.2.2',
+ license = 'Apache2.0',
+)