gerrit/tools
David Ostrovsky f2f4ee165c Consider plugin's test deps in eclipse classpath generation
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
2017-05-31 06:42:48 +00:00
..
bzl Consider plugin's test deps in eclipse classpath generation 2017-05-31 06:42:48 +00:00
eclipse Consider plugin's test deps in eclipse classpath generation 2017-05-31 06:42:48 +00:00
intellij Update documentation of code style settings for IntelliJ 2017-03-02 11:58:36 +01:00
js bower2bazel: don't specify versions for non-seed packages. 2017-02-01 13:33:55 +01:00
maven Support build args in tools/maven/api.sh 2017-03-16 16:43:31 -06:00
util Don't hardcode bash location 2015-08-26 09:03:24 -06:00
__init__.py Buck: Adjust to unflattened directory structure for python libraries 2013-11-30 20:19:33 +01:00
bazel.rc Add transpilation to PolyGerrit 2017-05-15 17:00:01 +09:00
BUILD Bazel: Reformat build files 2016-12-07 11:33:07 +00:00
checkstyle_suppressions.xml Update Checkstyle config to ignore generated sources 2015-08-26 07:02:38 +00:00
checkstyle.xml Add missing trailing comma on array declarations 2016-04-13 17:27:30 +09:00
download_file.py Document gjf and add a script to standardize/streamline setup 2017-02-07 12:38:37 -05:00
jgit-snapshot-deploy-pom.diff Provide a diff file to make it easier to deploy JGit snapshot 2016-08-31 11:13:47 +09:00
merge_jars.py Revert "Buck: Wipe out the machinery for merging JARs" 2016-02-08 14:34:10 +09:00
setup_gjf.sh Bump google-java-format to 1.3 2017-02-10 08:24:15 +01:00
util_test.py tools: use python on path 2015-06-18 17:10:11 +02:00
util.py Remove unused imports in Python scripts 2016-10-19 12:19:54 +09:00
version.py version.py: Fix replacement in version.bzl 2017-04-26 15:55:41 +02:00
workspace-status.sh Don't hardcode /bin/bash 2017-03-03 08:12:45 -06:00