
Since we're a BUCK shop, convert the SSH key converter accordingly. This requires we mark Bouncy Castle as unsign, even though we do not include this in our normal Gerrit builds. Also, we had to add slf4j-nop, since this app doesn't require logging. Change-Id: I85031192f9172a90512d5f28cf1621c10ad6ebf4
21 lines
401 B
Python
21 lines
401 B
Python
include_defs('//lib/maven.defs')
|
|
|
|
java_library(
|
|
name = 'convertkey__lib',
|
|
srcs = glob(['src/main/java/**/*.java']),
|
|
deps = [
|
|
'//lib:jsch',
|
|
'//lib/bouncycastle:bcprov',
|
|
'//lib/bouncycastle:bcpkix',
|
|
'//lib/log:nop',
|
|
'//lib/mina:sshd',
|
|
],
|
|
)
|
|
|
|
java_binary(
|
|
name = 'convertkey',
|
|
deps = [':convertkey__lib'],
|
|
main_class = 'com.googlesource.gerrit.convertkey.ConvertKey',
|
|
)
|
|
|