Prepare jenkins-build for gradle
This commit is contained in:
parent
49400a9ed9
commit
07c19aef37
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Jenkins uses this script to set up the ant build. Jenkins will then call
|
# Jenkins uses this script to set up the gradle build. Jenkins will then call
|
||||||
# ant itself once this script has completed.
|
# gradle itself once this script has completed.
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
@ -15,7 +15,6 @@ sed -i \
|
|||||||
-e "s,android:versionName=\"\([^\"][^\"]*\)\",android:versionName=\"\1.$versionNameDate\"," \
|
-e "s,android:versionName=\"\([^\"][^\"]*\)\",android:versionName=\"\1.$versionNameDate\"," \
|
||||||
F-Droid/AndroidManifest.xml
|
F-Droid/AndroidManifest.xml
|
||||||
|
|
||||||
|
|
||||||
if [ -z $ANDROID_HOME ]; then
|
if [ -z $ANDROID_HOME ]; then
|
||||||
if [ -e ~/.android/bashrc ]; then
|
if [ -e ~/.android/bashrc ]; then
|
||||||
. ~/.android/bashrc
|
. ~/.android/bashrc
|
||||||
@ -26,4 +25,3 @@ if [ -z $ANDROID_HOME ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cd F-Droid
|
cd F-Droid
|
||||||
./ant-prepare.sh
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user