b81b4f75ae
To run the tests: bazel test //... To build the Gerrit plugin API, run: bazel build gerrit-plugin-api:plugin-api_deploy.jar To build the Gerrit extension API, run: bazel build gerrit-extension-api:extension-api_deploy.jar TODOs: Licenses Reduce visibility (all public for now) Generate HTML Documentation Core plugins gerrit_plugin() rule to build plugins in tree and standalone modes GWT UI (only gwt_module() skylark rule is provided, no gwt_binary()) PolyGerrit UI WAR Publish artifacts to Maven Central Ask Bazel team to add Gerrit to their CI on ci.bazel.io Contributed-By: Han-Wen Nienhuys <hanwen@google.com> Change-Id: I9a86e670882a44a5c966579cdeb8ed79b1590de3
205 lines
3.8 KiB
Python
205 lines
3.8 KiB
Python
java_library(
|
|
name = 'servlet-api-3_1',
|
|
neverlink = 1,
|
|
exports = ['@servlet_api_3_1//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'servlet-api-3_1-without-neverlink',
|
|
exports = ['@servlet_api_3_1//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'gwtjsonrpc',
|
|
exports = ['@gwtjsonrpc//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'gwtjsonrpc_src',
|
|
exports = ['@gwtjsonrpc_src//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'gson',
|
|
exports = ['@gson//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'gwtorm_client',
|
|
exports = ['@gwtorm_client//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'gwtorm_client_src',
|
|
exports = ['@gwtorm_client_src//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'protobuf',
|
|
exports = ['@protobuf//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'gwtorm',
|
|
exports = [':gwtorm_client'],
|
|
runtime_deps = [':protobuf'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'guava',
|
|
exports = ['@guava//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'velocity',
|
|
exports = ['@velocity//jar'],
|
|
runtime_deps = [
|
|
'//lib/commons:collections',
|
|
'//lib/commons:lang',
|
|
'//lib/commons:oro',
|
|
],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'jsch',
|
|
exports = ['@jsch//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'juniversalchardet',
|
|
exports = ['@juniversalchardet//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'args4j',
|
|
exports = ['@args4j//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'automaton',
|
|
exports = ['@automaton//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'pegdown',
|
|
exports = ['@pegdown//jar'],
|
|
runtime_deps = [':grappa'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'grappa',
|
|
exports = ['@grappa//jar'],
|
|
runtime_deps = [
|
|
':jitescript',
|
|
'//lib/ow2:ow2-asm',
|
|
'//lib/ow2:ow2-asm-analysis',
|
|
'//lib/ow2:ow2-asm-tree',
|
|
'//lib/ow2:ow2-asm-util',
|
|
],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'jitescript',
|
|
exports = ['@jitescript//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'tukaani-xz',
|
|
exports = ['@tukaani_xz//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'mime-util',
|
|
exports = ['@mime_util//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'guava-retrying',
|
|
exports = ['@guava_retrying//jar'],
|
|
runtime_deps = [':jsr305'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'jsr305',
|
|
exports = ['@jsr305//jar'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'blame-cache',
|
|
exports = ['@blame_cache//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'h2',
|
|
exports = ['@h2//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
|
|
java_library(
|
|
name = 'jimfs',
|
|
exports = ['@jimfs//jar'],
|
|
runtime_deps = [':guava'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'junit',
|
|
exports = [
|
|
'@junit//jar',
|
|
':hamcrest-core',
|
|
],
|
|
runtime_deps = [':hamcrest-core'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'hamcrest-core',
|
|
exports = ['@hamcrest_core//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'truth',
|
|
exports = [
|
|
'@truth//jar',
|
|
':guava',
|
|
':junit',
|
|
],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'javassist',
|
|
exports = ['@javassist//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|
|
|
|
java_library(
|
|
name = 'derby',
|
|
exports = ['@derby//jar'],
|
|
visibility = ['//visibility:public'],
|
|
)
|