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:
committed by
David Ostrovsky
parent
5d9fc0ce21
commit
ea2b64e1f7
@@ -52,6 +52,7 @@ java_test(
|
||||
'//gerrit-server:server',
|
||||
'//lib:guava',
|
||||
'//lib:junit',
|
||||
'//lib/mina:sshd',
|
||||
],
|
||||
source_under_test = [':sshd'],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user