e47caabfa8
This method does not come for free from AbstractCache. Fortunately, it is easy to implement by wrapping the provided Callable. Change-Id: Ia3ad46dc87e54ddc6e8ee245e065ed4686c72e10
29 lines
540 B
Python
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',
|
|
],
|
|
)
|