b6e94a00a0
CacheImpl [1] introduced the possibility to overload core Gerrit module with one that is provided by library. This change generalizes it so that any Gerrit core module can be overloaded. How to overload Gerrit core module: * identify module that needs to be overloaded and mark it with @ModuleImpl(name="moduleX") annotation; note that circular dependencies from different module qualifies particular instance as non-candidate * build lib module that provides alternative implementation to the module in question and mark it with the same annotation * place implementation jar under GERRIT_SITE/lib dir and add gerrit.installModule entry with your.package.Module path to gerrit.config. [1] https://gerrit-review.googlesource.com/c/gerrit/+/173162 Change-Id: Ic6dac8d1cc558abdcfd7a1cc257dbd7f8924ff9b Signed-off-by: Jacek Centkowski <jcentkowski@collab.net> |
||
---|---|---|
.. | ||
src/main/java/com/google/gerrit/server/cache/mem | ||
BUILD |