Remove Buck files Buck build is not working as .buckconfig is no longer present. Remove remaining buck build files. Change-Id: Ib4794788c95b364b2b8e2453ff6569e9af074d7c
diff --git a/BUCK b/BUCK deleted file mode 100644 index d0b3fd8..0000000 --- a/BUCK +++ /dev/null
@@ -1,68 +0,0 @@ -include_defs('//bucklets/gerrit_plugin.bucklet') - -gerrit_plugin( - name = 'its-rtc', - srcs = glob(['src/main/java/**/*.java']), - resources = glob(['src/main/resources/**/*']), - manifest_entries = [ - 'Gerrit-PluginName: its-rtc', - 'Gerrit-Module: com.googlesource.gerrit.plugins.its.rtc.RTCModule', - 'Gerrit-InitStep: com.googlesource.gerrit.plugins.its.rtc.InitRTC', - 'Gerrit-ReloadMode: reload', - 'Implementation-Title: Plugin its-rtc', - 'Implementation-URL: http://www.gerritforge.com', - 'Implementation-Vendor: GerritForge LLP', - ], - deps = [ - ':its-base_stripped', - '//plugins/its-rtc/lib:commons-logging', - '//plugins/its-rtc/lib:commons-io', - ], - provided_deps = [ - '//lib:gson', - '//lib/commons:codec', - '//lib/httpcomponents:httpclient', - '//lib/httpcomponents:httpcore', - ], -) - -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', - ] -) - -java_test( - name = 'its-rtc_tests', - srcs = glob(['src/test/java/**/*.java']), - labels = ['its-rtc'], - deps = GERRIT_PLUGIN_API + GERRIT_TESTS + [ - ':its-rtc__plugin', - '//lib:junit', - '//plugins/its-rtc/lib:mockito', - ], -)
diff --git a/lib/BUCK b/lib/BUCK deleted file mode 100644 index c6a75ea..0000000 --- a/lib/BUCK +++ /dev/null
@@ -1,22 +0,0 @@ -include_defs('//lib/maven.defs') - -maven_jar( - name = 'commons-io', - id = 'commons-io:commons-io:1.4', - sha1 = 'a8762d07e76cfde2395257a5da47ba7c1dbd3dce', - license = 'Apache2.0', -) - -maven_jar( - name = 'commons-logging', - id = 'commons-logging:commons-logging:1.2', - sha1 = '4bfc12adfe4842bf07b657f0369c4cb522955686', - license = 'Apache2.0', -) - -maven_jar( - name = 'mockito', - id = 'org.mockito:mockito-all:1.9.5', - sha1 = '79a8984096fc6591c1e3690e07d41be506356fa5', - license = 'Apache2.0', -)