gerrit/gerrit-cache-h2/BUCK
Dave Borowitz e47caabfa8 H2CacheImpl: Support get(K, Callable<? extends V>)
This method does not come for free from AbstractCache. Fortunately, it
is easy to implement by wrapping the provided Callable.

Change-Id: Ia3ad46dc87e54ddc6e8ee245e065ed4686c72e10
2015-08-07 17:04:18 -07:00

29 lines
540 B
Python

java_library(
name = 'cache-h2',
srcs = glob(['src/main/java/**/*.java']),
deps = [
'//gerrit-common:server',
'//gerrit-extension-api:api',
'//gerrit-server:server',
'//lib:guava',
'//lib:h2',
'//lib/guice:guice',
'//lib/jgit:jgit',
'//lib/log:api',
],
visibility = ['PUBLIC'],
)
java_test(
name = 'tests',
srcs = glob(['src/test/java/**/*.java']),
deps = [
':cache-h2',
'//gerrit-server:server',
'//lib:guava',
'//lib:h2',
'//lib/guice:guice',
'//lib:junit',
],
)