Add initial buck build, in-tree only
Change-Id: I9a64d68e323118917295637efe3f73a314b9352c
diff --git a/BUCK b/BUCK
new file mode 100644
index 0000000..6d3f561
--- /dev/null
+++ b/BUCK
@@ -0,0 +1,18 @@
+include_defs('//bucklets/gerrit_plugin.bucklet')
+include_defs('//lib/maven.defs')
+
+gerrit_plugin(
+ name = 'audit-sl4j',
+ srcs = glob(['src/main/java/**/*.java']),
+ resources = glob(['src/main/resources/**/*']),
+ manifest_entries = [
+ 'Gerrit-PluginName: audit-sl4j',
+ ],
+)
+
+# this is required for bucklets/tools/eclipse/project.py to work
+java_library(
+ name = 'classpath',
+ deps = [':audit-sl4j__plugin'],
+)
+