df36b6a972
BUCK is currently lacking native support for source jar generation. Generate sources JARs for the API manually, until BUCK supports it. Change-Id: I64fda0fdd82ca3ca37ac46d74e9550b2d9dddb39
40 lines
863 B
Python
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'],
|
|
)
|