mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
get commons-codec from apache archive, not osuosl
prevents the issue where, when a new release of commons-codec comes out, `bin/create` stops working
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ then
|
||||
|
||||
if [ ! -e "$BUILD_PATH"/framework/libs/commons-codec-1.7.jar ]; then
|
||||
# Use curl to get the jar (TODO: Support Apache Mirrors)
|
||||
curl -OL http://apache.osuosl.org/commons/codec/binaries/commons-codec-1.7-bin.zip &> /dev/null
|
||||
curl -OL http://archive.apache.org/dist/commons/codec/binaries/commons-codec-1.7-bin.zip &> /dev/null
|
||||
unzip commons-codec-1.7-bin.zip &> /dev/null
|
||||
mkdir -p "$BUILD_PATH"/framework/libs
|
||||
cp commons-codec-1.7/commons-codec-1.7.jar "$BUILD_PATH"/framework/libs
|
||||
|
||||
Reference in New Issue
Block a user