c34d3607ba
937d527ac0
upgraded bouncy castle to 1.49.
The old JAR artifact was renamed and split to number of files. For Gerrit
two libraries must be downloaded and be available under `$gerrit_site/lib`:
* bcprov-jdk15on-149.jar
* bcpkix-jdk15on-149.jar
Update download logic to support a basic concept of required dependencies,
ensuring BC provider is downloaded if the SSL library is installed by init.
Change-Id: I60092ebe136f78a5649fe8512737275f50195a34
29 lines
785 B
Python
29 lines
785 B
Python
include_defs('//lib/maven.defs')
|
|
|
|
# This version must match the version that also appears in
|
|
# gerrit-pgm/src/main/resources/com/google/gerrit/pgm/libraries.config
|
|
VERSION = '1.49'
|
|
|
|
maven_jar(
|
|
name = 'bcprov',
|
|
id = 'org.bouncycastle:bcprov-jdk15on:' + VERSION,
|
|
sha1 = 'f5155f04330459104b79923274db5060c1057b99',
|
|
license = 'DO_NOT_DISTRIBUTE', #'bouncycastle'
|
|
)
|
|
|
|
maven_jar(
|
|
name = 'bcpg',
|
|
id = 'org.bouncycastle:bcpg-jdk15on:' + VERSION,
|
|
sha1 = '081d84be5b125e1997ab0e2244d1a2276b5de76c',
|
|
license = 'DO_NOT_DISTRIBUTE', #'bouncycastle'
|
|
deps = [':bcprov'],
|
|
)
|
|
|
|
maven_jar(
|
|
name = 'bcpkix',
|
|
id = 'org.bouncycastle:bcpkix-jdk15on:' + VERSION,
|
|
sha1 = '924cc7ad2f589630c97b918f044296ebf1bb6855',
|
|
license = 'DO_NOT_DISTRIBUTE', #'bouncycastle'
|
|
deps = [':bcprov'],
|
|
)
|