blob: 367d677cc14d9d768a8b75e96a44d6e05b40a835 [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://gerrit.googlesource.com/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',
],
)