gerrit/gerrit-sshd/BUCK
Shawn Pearce 57defbb9e5 Remove jsr305 library
In d6ccccf96a Sasa Zivkov explained OSGI runtimes do not accept the
javax.annotation.* package to be provided by the application, as part
of the package is already included with the JRE.

Now that Gerrit has its own version of the @Nullable annotation, drop
the jsr305 library dependency.

Change-Id: I253fd74af7a73c5d5bc4a0b35755cc449957e0f2
2013-09-26 23:12:55 -07:00

40 lines
863 B
Python

SRCS = glob(['src/main/java/**/*.java'])
java_library2(
name = 'sshd',
srcs = SRCS,
deps = [
'//gerrit-extension-api:api',
'//gerrit-cache-h2:cache-h2',
'//gerrit-common:server',
'//gerrit-patch-jgit:server',
'//gerrit-reviewdb:server',
'//gerrit-server:server',
'//gerrit-util-cli:cli',
'//lib:args4j',
'//lib:gson',
'//lib:guava',
'//lib:gwtorm',
'//lib:jsch',
'//lib/commons:codec',
'//lib/guice:guice',
'//lib/guice:guice-assistedinject',
'//lib/guice:guice-servlet', # SSH should not depend on servlet
'//lib/log:api',
'//lib/log:log4j',
'//lib/mina:core',
'//lib/mina:sshd',
'//lib/jgit:jgit',
],
compile_deps = [
'//lib/bouncycastle:bcprov',
],
visibility = ['PUBLIC'],
)
java_sources(
name = 'sshd-src',
srcs = SRCS,
visibility = ['PUBLIC'],
)