Files
gerrit/lib/nongoogle_test.sh
David Ostrovsky 9312282e68 Switch to using sshd-osgi artifact
This is the preparation change for using MINA SSHD client in JGit.

JGit uses sshd-osgi which is a shaded combination of sshd-common and
sshd-core to avoid issues with split packages which bite in an OSGI
runtime like Eclipse.

Feature: Issue 12599
Change-Id: Ieaf93abf2e26f3b720383279de2aaa970db51377
2020-04-18 08:20:10 +02:00

39 lines
596 B
Bash
Executable File

#!/bin/sh
# This test ensures that new dependencies in nongoogle.bzl go through LC review.
set -eux
bzl=$(pwd)/tools/nongoogle.bzl
TMP=$(mktemp -d || mktemp -d -t /tmp/tmp.XXXXXX)
grep 'name = "[^"]*"' ${bzl} | sed 's|^[^"]*"||g;s|".*$||g' | sort > $TMP/names
cat << EOF > $TMP/want
cglib-3_2
dropwizard-core
duct-tape
eddsa
elasticsearch-rest-client
httpasyncclient
httpcore-nio
j2objc
jackson-core
jna
jruby
mina-core
nekohtml
objenesis
openid-consumer
sshd-mina
sshd-osgi
testcontainers
testcontainers-elasticsearch
tukaani-xz
visible-assertions
xerces
EOF
diff -u $TMP/names $TMP/want