Fix compilation of unit test on Java 8

Transitive dependency is missing for mina-sshd in sshd_tests rule.
The error message in Java 8 is:

gerrit-sshd/src/test/java/com/google/gerrit/sshd/commands/ProjectConfigParamParserTest.java:41:
error: cannot access org.apache.sshd.server.Command
        cmd.parsePluginConfigValues(Collections.singletonList(in));
           ^
  class file for org.apache.sshd.server.Command not found

Change-Id: I5ca948bcd04b7a5ce7588810d1db151309ed39c4
This commit is contained in:
David Ostrovsky 2015-02-17 21:21:55 +01:00 committed by David Ostrovsky
parent 5d9fc0ce21
commit ea2b64e1f7

View File

@ -52,6 +52,7 @@ java_test(
'//gerrit-server:server', '//gerrit-server:server',
'//lib:guava', '//lib:guava',
'//lib:junit', '//lib:junit',
'//lib/mina:sshd',
], ],
source_under_test = [':sshd'], source_under_test = [':sshd'],
) )