blob: 4f0b3c12952a8b3faf656e0e0705c85d62fbecde [file] [log] [blame]
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.hooks.rtc.RTCModule',
'Gerrit-InitStep: com.googlesource.gerrit.plugins.hooks.rtc.InitRTC',
'Gerrit-ReloadMode: reload',
'Implementation-Title: Plugin its-rtc',
'Implementation-URL: http://www.gerritforge.com',
'Implementation-Vendor: GerritForge LLP',
],
deps = [
'//plugins/its-base:its-base__plugin',
'//plugins/its-rtc/lib:commons-logging',
],
provided_deps = [
'//lib:gson',
'//lib/commons:codec',
'//lib/httpcomponents:httpclient',
'//lib/httpcomponents:httpcore',
'//lib/commons:io',
],
)
java_test(
name = 'its-rtc_tests',
srcs = glob(['src/test/java/**/*.java']),
labels = ['its-rtc'],
source_under_test = [':its-rtc__plugin'],
deps = [
':its-rtc__plugin',
'//gerrit-plugin-api:lib',
'//lib:junit',
'//plugins/its-rtc/lib:mockito',
],
)