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
diff --git a/gerrit-sshd/BUCK b/gerrit-sshd/BUCK
index cc3dec2..4774cb3 100644
--- a/gerrit-sshd/BUCK
+++ b/gerrit-sshd/BUCK
@@ -52,6 +52,7 @@
'//gerrit-server:server',
'//lib:guava',
'//lib:junit',
+ '//lib/mina:sshd',
],
source_under_test = [':sshd'],
)