| include_defs('//bucklets/gerrit_plugin.bucklet') | |
| gerrit_plugin( | |
| name = 'server-config', | |
| srcs = glob(['src/main/java/**/*.java']), | |
| resources = glob(['src/main/resources/**/*']), | |
| manifest_entries = [ | |
| 'Gerrit-PluginName: server-config', | |
| 'Gerrit-HttpModule: com.googlesource.gerrit.plugins.serverconfig.HttpModule', | |
| ] | |
| ) | |
| # this is required for bucklets/tools/eclipse/project.py to work | |
| # not sure, if this does something useful in standalone context | |
| java_library( | |
| name = 'classpath', | |
| deps = [':server-config__plugin'], | |
| ) |