| include_defs('//bucklets/gerrit_plugin.bucklet') |
| |
| gerrit_plugin( |
| name = 'x-docs', |
| 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', |
| ], |
| ) |
| |
| # this is required for bucklets/tools/eclipse/project.py to work |
| java_library( |
| name = 'classpath', |
| deps = [':x-docs__plugin'], |
| ) |
| |