David Ostrovsky | 3b0f19e | 2014-07-18 01:16:54 +0200 | [diff] [blame] | 1 | gerrit_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 Aistleitner | 162d76a | 2015-03-26 23:12:52 +0100 | [diff] [blame] | 21 | '//lib/httpcomponents:httpclient', |
| 22 | '//lib/httpcomponents:httpcore', |
David Ostrovsky | 3b0f19e | 2014-07-18 01:16:54 +0200 | [diff] [blame] | 23 | '//lib/commons:io', |
| 24 | ], |
| 25 | ) |
| 26 | |
| 27 | java_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 | ) |