Remove buck build Change-Id: I62fde93be5f392d67fe9347b126b86922bf224d6
diff --git a/BUCK b/BUCK deleted file mode 100644 index f7deeee..0000000 --- a/BUCK +++ /dev/null
@@ -1,71 +0,0 @@ -include_defs('//bucklets/gerrit_plugin.bucklet') - -gerrit_plugin( - name = 'its-bugzilla', - srcs = glob(['src/main/java/**/*.java']), - resources = glob(['src/main/resources/**/*']), - manifest_entries = [ - 'Gerrit-Module: com.googlesource.gerrit.plugins.its.bugzilla.BugzillaModule', - 'Gerrit-InitStep: com.googlesource.gerrit.plugins.its.bugzilla.InitBugzilla', - 'Gerrit-ReloadMode: reload', - 'Implementation-Title: Bugzilla ITS Plugin', - 'Implementation-URL: https://www.wikimediafoundation.org', - ], - deps = [ - ':its-base_stripped', - '//plugins/its-bugzilla/lib:j2bugzilla', - ], -) - -def strip_jar( - name, - src, - excludes = [], - visibility = [], - ): - name_zip = name + '.zip' - genrule( - name = name_zip, - cmd = 'cp $SRCS $OUT && zip -qd $OUT ' + ' '.join(excludes), - srcs = [ src ], - out = name_zip, - visibility = visibility, - ) - prebuilt_jar( - name = name, - binary_jar = ':' + name_zip, - visibility = visibility, - ) - -strip_jar( - name = 'its-base_stripped', - src = '//plugins/its-base:its-base', - excludes = [ - 'Documentation/about.md', - 'Documentation/build.md', - 'Documentation/config-connectivity.md', - 'Documentation/config-rulebase-plugin-actions.md', - ] -) - -java_test( - name = 'its-bugzilla_tests', - srcs = glob(['src/test/java/**/*.java']), - labels = ['its-bugzilla'], - deps = GERRIT_PLUGIN_API + GERRIT_TESTS + [ - ':its-bugzilla__plugin', - '//plugins/its-base:its-base_tests-utils', - ':its-base_stripped', - '//lib/easymock:easymock', - '//lib:guava', - '//lib/guice:guice', - '//lib:junit', - '//lib/log:api', - '//lib/log:impl_log4j', - '//lib/log:log4j', - '//lib/powermock:powermock-api-easymock', - '//lib/powermock:powermock-api-support', - '//lib/powermock:powermock-core', - '//lib/powermock:powermock-module-junit4', - ], -)
diff --git a/lib/BUCK b/lib/BUCK deleted file mode 100644 index 1d18929..0000000 --- a/lib/BUCK +++ /dev/null
@@ -1,43 +0,0 @@ -include_defs('//lib/maven.defs') - -maven_jar( - name = 'j2bugzilla', - id = 'com.j2bugzilla:j2bugzilla:2.2.1', - sha1 = '397e40c85bda1eb0a13bccf3cb7130d8f815290e', - license = 'Apache2.0', - deps = [':xmlrpc-client'], -) - -maven_jar( - name = 'xmlrpc-client', - id = 'org.apache.xmlrpc:xmlrpc-client:3.1.3', - sha1 = 'e486ad917028b52265610206fb5a1e2b5914b94b', - license = 'Apache2.0', - deps = [':xmlrpc-common'], - visibility = [], -) - -maven_jar( - name = 'xmlrpc-common', - id = 'org.apache.xmlrpc:xmlrpc-common:3.1.3', - sha1 = '415daf1f1473a947452588906dc9f5b3575fb44d', - license = 'Apache2.0', - deps = [':ws-commons-util'], - visibility = [], -) - -maven_jar( - name = 'ws-commons-util', - id = 'org.apache.ws.commons.util:ws-commons-util:1.0.2', - sha1 = '3f478e6def772c19d1053f61198fa1f6a6119238', - license = 'Apache2.0', - deps = [':xml-apis'], - visibility = [], -) - -maven_jar( - name = 'xml-apis', - id = 'xml-apis:xml-apis:1.0.b2', - sha1 = '3136ca936f64c9d68529f048c2618bd356bf85c9', - license = 'Apache2.0', -)