blob: 4f0b3c12952a8b3faf656e0e0705c85d62fbecde [file] [log] [blame]
David Ostrovsky3b0f19e2014-07-18 01:16:54 +02001gerrit_plugin(
2 name = 'its-rtc',
3 srcs = glob(['src/main/java/**/*.java']),
4 resources = glob(['src/main/resources/**/*']),
5 manifest_entries = [
6 'Gerrit-PluginName: its-rtc',
7 'Gerrit-Module: com.googlesource.gerrit.plugins.hooks.rtc.RTCModule',
8 'Gerrit-InitStep: com.googlesource.gerrit.plugins.hooks.rtc.InitRTC',
9 'Gerrit-ReloadMode: reload',
10 'Implementation-Title: Plugin its-rtc',
11 'Implementation-URL: http://www.gerritforge.com',
12 'Implementation-Vendor: GerritForge LLP',
13 ],
14 deps = [
15 '//plugins/its-base:its-base__plugin',
16 '//plugins/its-rtc/lib:commons-logging',
17 ],
18 provided_deps = [
19 '//lib:gson',
20 '//lib/commons:codec',
Christian Aistleitner162d76a2015-03-26 23:12:52 +010021 '//lib/httpcomponents:httpclient',
22 '//lib/httpcomponents:httpcore',
David Ostrovsky3b0f19e2014-07-18 01:16:54 +020023 '//lib/commons:io',
24 ],
25)
26
27java_test(
28 name = 'its-rtc_tests',
29 srcs = glob(['src/test/java/**/*.java']),
30 labels = ['its-rtc'],
31 source_under_test = [':its-rtc__plugin'],
32 deps = [
33 ':its-rtc__plugin',
34 '//gerrit-plugin-api:lib',
35 '//lib:junit',
36 '//plugins/its-rtc/lib:mockito',
37 ],
38)