This change also discontinues this Maven artifact: <groupId>com.google.gerrit</groupId> <artifactId>gerrit-plugin-gwtui</artifactId> Bug: Issue 6908 Change-Id: I767118ba4a70f288b8f56686ab90aefa059912bb
44 lines
1.2 KiB
Python
44 lines
1.2 KiB
Python
load("//tools/bzl:pkg_war.bzl", "LIBS", "PGMLIBS")
|
|
load("//tools/bzl:classpath.bzl", "classpath_collector")
|
|
load(
|
|
"//tools/bzl:plugins.bzl",
|
|
"CORE_PLUGINS",
|
|
"CUSTOM_PLUGINS",
|
|
"CUSTOM_PLUGINS_TEST_DEPS",
|
|
)
|
|
|
|
TEST_DEPS = [
|
|
"//javatests/com/google/gerrit/elasticsearch:elasticsearch_test_utils",
|
|
"//javatests/com/google/gerrit/server:server_tests",
|
|
]
|
|
|
|
DEPS = [
|
|
"//java/com/google/gerrit/acceptance:lib",
|
|
"//java/com/google/gerrit/server",
|
|
"//java/com/google/gerrit/asciidoctor:asciidoc_lib",
|
|
"//java/com/google/gerrit/asciidoctor:doc_indexer_lib",
|
|
"//lib/auto:auto-value",
|
|
"//lib/jetty:servlets",
|
|
"//lib/prolog:compiler-lib",
|
|
"//proto:reviewdb_java_proto",
|
|
]
|
|
|
|
java_library(
|
|
name = "classpath",
|
|
testonly = 1,
|
|
runtime_deps = LIBS + PGMLIBS + DEPS,
|
|
)
|
|
|
|
classpath_collector(
|
|
name = "main_classpath_collect",
|
|
testonly = 1,
|
|
deps = LIBS + PGMLIBS + DEPS + TEST_DEPS +
|
|
["//plugins/%s:%s__plugin" % (n, n) for n in CORE_PLUGINS + CUSTOM_PLUGINS] +
|
|
["//plugins/%s:%s__plugin_test_deps" % (n, n) for n in CUSTOM_PLUGINS_TEST_DEPS],
|
|
)
|
|
|
|
classpath_collector(
|
|
name = "autovalue_classpath_collect",
|
|
deps = ["//lib/auto:auto-value"],
|
|
)
|