forked from bcgit/bc-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated to work with beta jars and added better preamble to README.md
- Loading branch information
Megan Woods
committed
Feb 8, 2017
1 parent
22ed0ba
commit 1d50832
Showing
5 changed files
with
90 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
|
||
if [ ! -d "$DIR/jars" ]; then | ||
mkdir $DIR/jars | ||
|
||
pushd $DIR/../../../ | ||
BCDIR=`pwd` | ||
popd | ||
|
||
pushd $DIR/jars | ||
|
||
if type curl > /dev/null; then | ||
curl -O https://downloads.bouncycastle.org/betas/bcprov-jdk15on-157b03.jar | ||
elif type wget > /dev/null ; then | ||
wget https://downloads.bouncycastle.org/betas/bcprov-jdk15on-157b03.jar | ||
else | ||
echo "No wget or curl to download provider jar" | ||
fi | ||
|
||
popd | ||
|
||
cd $BCDIR | ||
|
||
gradle -x test clean jar | ||
|
||
cp $BCDIR/test/build/libs/* $DIR/jars | ||
cp $BCDIR/pkix/build/libs/*.jar $DIR/jars | ||
|
||
fi | ||
|
||
|
||
|