blob: 3351729365b0a73143f89352df4bc8013425d9b0 [file] [log] [blame]
gerrit_plugin(
name = 'ref-protection',
srcs = glob(['src/main/java/**/*.java']),
resources = glob(['src/main/resources/**/*']),
manifest_entries = [
'Implementation-Title: Ref Protection plugin',
'Implementation-URL: http://review-plus.sonyericsson.net/#/admin/projects/gerrit/plugins/ref-protection',
'Gerrit-PluginName: ref-protection',
'Gerrit-Module: com.googlesource.gerrit.plugins.refprotection.RefProtectionModule'
],
)
java_test(
name = 'ref-protection_tests',
srcs = glob(['src/test/java/**/*.java']),
deps = [
':ref-protection__plugin',
'//gerrit-common:server',
'//gerrit-reviewdb:server',
'//gerrit-server:server',
'//lib:guava',
'//lib:gwtorm',
'//lib:junit',
'//lib:truth',
'//lib/jgit:jgit',
],
)