f2f4ee165c
Introduce the CUSTOM_PLUGINS_TEST_DEPS in tools/bzl/plugins.bzl that allow plugin with external test dependencies to be listed. That way Eclipse classpath generation process can consider these dependencies. Because the plugin's own test rule need these dependencies, it should expose java_library rule called: <plugin>__plugin_test_deps: java_library( name = "high-availability__plugin_test_deps", visibility = ["//visibility:public"], exports = [ "@byte-buddy//jar", "@mockito//jar", "@objenesis//jar", "@wiremock//jar", ], ) and re-use this rule in junit_tests rule, e.g.: junit_tests( name = "high_availability_tests", [...] deps = [ [...] ":high-availability__plugin_test_deps", ] ) Bug: Issue 6351 Change-Id: I55b402fa6edb9f2506a91451d70e68d44d1a7762 |
||
---|---|---|
.. | ||
bzl | ||
eclipse | ||
intellij | ||
js | ||
maven | ||
util | ||
__init__.py | ||
bazel.rc | ||
BUILD | ||
checkstyle_suppressions.xml | ||
checkstyle.xml | ||
download_file.py | ||
jgit-snapshot-deploy-pom.diff | ||
merge_jars.py | ||
setup_gjf.sh | ||
util_test.py | ||
util.py | ||
version.py | ||
workspace-status.sh |