mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +08:00
Tweaked create so it fetches the commons-codec using curl
This commit is contained in:
parent
b2f49b15ba
commit
c6349668dd
@ -38,6 +38,11 @@ fi
|
||||
# update the cordova-android framework for the desired target
|
||||
android update project --target $TARGET --path ./framework
|
||||
|
||||
# Use curl to get the jar (TODO: Support Apache Mirrors)
|
||||
curl -OL http://mirror.symnds.com/software/Apache//commons/codec/binaries/commons-codec-1.6-bin.zip
|
||||
unzip commons-codec-1.6-bin.zip
|
||||
cp commons-codec-1.6/commons-codec-1.6.jar ./framework/libs
|
||||
|
||||
# compile cordova.js and cordova.jar
|
||||
cd ./framework && ant jar && cd ../
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user