MozStumbler: Try to fix build.
This commit is contained in:
parent
3b8ee99e65
commit
e73eb08388
|
@ -106,10 +106,29 @@ Build:0.40.3.0,400300
|
||||||
gradle=yes
|
gradle=yes
|
||||||
|
|
||||||
Build:0.40.4.0,400400
|
Build:0.40.4.0,400400
|
||||||
disable=untrusted repos
|
|
||||||
commit=v0.40.4.0
|
commit=v0.40.4.0
|
||||||
gradle=yes
|
gradle=yes
|
||||||
subdir=android
|
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
|
#Auto Update Mode:Version v%v
|
||||||
Update Check Mode:Tags
|
Update Check Mode:Tags
|
||||||
|
|
2
srclibs/MozOsmDroid.txt
Normal file
2
srclibs/MozOsmDroid.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Repo Type:git
|
||||||
|
Repo:https://github.com/mozilla/osmdroid
|
2
srclibs/SimpleKML.txt
Normal file
2
srclibs/SimpleKML.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Repo Type:git
|
||||||
|
Repo:https://github.com/crankycoder/SimpleKML
|
Loading…
Reference in a new issue