Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
junit.bzl: compile test sources only once (#7248)
We need a java_library of the tests in order to run PMD. Previously, we compiled the sources twice: once in the java_test (passing sources as sources) and once in the java_library for pmdlib. Now, generate the testlib first and use the same lib for both java_tests (deps) and pmd_test (lib). This saves a compilation.
- Loading branch information
Showing
1 changed file
with
20 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters