MozStumbler: Try to fix build.

master
Boris Kraut 2014-10-19 17:36:19 +02:00
parent 3b8ee99e65
commit e73eb08388
3 changed files with 24 additions and 1 deletions

View File

@ -106,10 +106,29 @@ Build:0.40.3.0,400300
gradle=yes
Build:0.40.4.0,400400
disable=untrusted repos
commit=v0.40.4.0
gradle=yes
subdir=android
srclibs=MozOsmDroid@4.3.1,SimpleKML@v1.0
prebuild=sed -i \
-e '/sonatype/d' \
-e '/mavenCentral/amavenLocal()' \
-e 's/http:\/\/mozilla-services.github.io\/ivy-repo/http:\/\/localhost' \
-e '/fileTree/acompile "org.osmdroid:osmdroid-android:4.3-SNAPSHOT"' build.gradle && \
sed -i -e '/fileTree/d' build.gradle && \
$$MVN3$$ install:install-file \
-DgroupId=android \
-DartifactId=android \
-Dversion=4.4.2_r3 \
-Dpackaging=jar \
-Dfile=$$SDK$$/platforms/android-19/android.jar && \
pushd $$MozOsmDroid$$ && $$MVN3$$ install && popd && \
cp -fR $$SimpleKML$$/SimpleKML ../ && \
rm ../SimpleKML/libs/* && \
sed -i -e '/libs\/simple-xml/acompile "org.simpleframework:simple-xml:2.6.3"' -e '/dependencies {/irepositories { mavenCentral() \n mavenLocal() \n }\n' ../SimpleKML/build.gradle && \
sed -i -e '/libs\/simple-xml/d' ../SimpleKML/build.gradle && \
echo "include ':SimpleKML'" >> ../settings.gradle && \
sed -i -e 's/runProguard true/runProguard false/g' build.gradle && \
#Auto Update Mode:Version v%v
Update Check Mode:Tags

2
srclibs/MozOsmDroid.txt Normal file
View File

@ -0,0 +1,2 @@
Repo Type:git
Repo:https://github.com/mozilla/osmdroid

2
srclibs/SimpleKML.txt Normal file
View File

@ -0,0 +1,2 @@
Repo Type:git
Repo:https://github.com/crankycoder/SimpleKML