| include_defs('//bucklets/gerrit_plugin.bucklet') |
| |
| gerrit_plugin( |
| name = 'xdocs', |
| srcs = glob(['src/main/java/**/*.java']), |
| resources = glob(['src/main/resources/**/*']), |
| manifest_entries = [ |
| 'Gerrit-PluginName: xdocs', |
| 'Gerrit-ApiType: plugin', |
| 'Gerrit-ApiVersion: 2.11-SNAPSHOT', |
| 'Gerrit-HttpModule: com.googlesource.gerrit.plugins.xdocs.HttpModule', |
| 'Gerrit-Module: com.googlesource.gerrit.plugins.xdocs.Module', |
| 'Gerrit-InitStep: com.googlesource.gerrit.plugins.xdocs.XDocInit', |
| ], |
| ) |
| |
| # this is required for bucklets/tools/eclipse/project.py to work |
| java_library( |
| name = 'classpath', |
| deps = [':xdocs__plugin'], |
| ) |
| |