Merge "Fix MisusedWeekYear bug pattern flagged by error prone"
diff --git a/.buckconfig b/.buckconfig
deleted file mode 100644
index c897236..0000000
--- a/.buckconfig
+++ /dev/null
@@ -1,13 +0,0 @@
-[alias]
-  ref-protection = //:ref-protection
-  plugin = //:ref-protection
-
-[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 1987215..0000000
--- a/BUCK
+++ /dev/null
@@ -1,41 +0,0 @@
-include_defs('//bucklets/gerrit_plugin.bucklet')
-
-if STANDALONE_MODE:
-  TEST_DEPS = GERRIT_PLUGIN_API
-else:
-  TEST_DEPS = [
-    '//gerrit-common:server',
-    '//gerrit-reviewdb:server',
-    '//gerrit-server:server',
-    '//lib/jgit/org.eclipse.jgit:jgit',
-    '//lib:guava',
-    '//lib:gwtorm',
-   ]
-
-gerrit_plugin(
-  name = 'ref-protection',
-  srcs = glob(['src/main/java/**/*.java']),
-  resources = glob(['src/main/resources/**/*']),
-  manifest_entries = [
-    'Implementation-Title: Ref Protection plugin',
-    'Implementation-URL: http://gerrit.googlesource.com/plugins/ref-protection',
-    'Gerrit-PluginName: ref-protection',
-    'Gerrit-Module: com.googlesource.gerrit.plugins.refprotection.RefProtectionModule'
-  ],
-)
-
-java_library(
-  name = 'classpath',
-  deps = [':ref-protection__plugin'],
-)
-
-java_test(
-  name = 'ref-protection_tests',
-  srcs = glob(['src/test/java/**/*.java']),
-  labels = ['ref-protection'],
-  deps = TEST_DEPS + [
-    ':ref-protection__plugin',
-    '//lib:junit',
-    '//lib:truth',
-  ],
-)
diff --git a/lib/BUCK b/lib/BUCK
deleted file mode 100644
index f501067..0000000
--- a/lib/BUCK
+++ /dev/null
@@ -1,27 +0,0 @@
-include_defs('//bucklets/maven_jar.bucklet')
-
-maven_jar(
-  name = 'junit',
-  id = 'junit:junit:4.10',
-  sha1 = 'e4f1766ce7404a08f45d859fb9c226fc9e41a861',
-  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'],
-)
-
-maven_jar(
-  name = 'truth',
-  id = 'com.google.truth:truth:0.26',
-  sha1 = 'b5802815625d82f39c33219299771f3d64301b06',
-  license = 'DO_NOT_DISTRIBUTE',
-  deps = [
-    ':junit',
-  ],
-)
diff --git a/lib/gerrit/BUCK b/lib/gerrit/BUCK
deleted file mode 100644
index 96d016a..0000000
--- a/lib/gerrit/BUCK
+++ /dev/null
@@ -1,13 +0,0 @@
-include_defs('//bucklets/maven_jar.bucklet')
-
-VER = '2.11'
-REPO = MAVEN_CENTRAL
-
-maven_jar(
-  name = 'plugin-api',
-  id = 'com.google.gerrit:gerrit-plugin-api:' + VER,
-  sha1 = 'be80ff991f7b9f8669b7a2a399003ec1ae69ed31',
-  license = 'Apache2.0',
-  attach_source = False,
-  repository = REPO,
-)