OsmAnd~: working build without helper script

Also fix the flavours
This commit is contained in:
Daniel Martí 2015-05-06 23:38:17 +02:00
parent 30f8a02588
commit 2837b261bb

View file

@ -150,12 +150,18 @@ Build:2.0.2,201
ndk=r10d
Build:2.0.3,205
disable=builds
disable=testing needed
commit=2.0.3
subdir=android/OsmAnd
submodules=yes
build=../../build
gradle=fullLegacyFat
prebuild=sed -i -e '/qt.*Compile/d' build.gradle && \
sed -i -e "s/System.getenv(\"APK_VERSION\")/\"2.0.3\"/g" build.gradle && \
sed -i -e "s/System.getenv(\"APK_NUMBER_VERSION\")/\"205\"/g" build.gradle && \
sed -i -e "s/System.getenv(\"APP_FEATURES\")/\"-play_market +gps_status -parking_plugin -blackberry -amazon -route_nav\"/g" build.gradle && \
sed -i -e "s/System.getenv(\"APP_NAME\")/\"OsmAnd~\"/g" build.gradle && \
sed -i -e "s/System.getenv(\"TARGET_APP_NAME\")/\"OsmAnd~\"/g" build.gradle && \
sed -i -e '/sourceSets/icompileOptions {\nsourceCompatibility = JavaVersion.VERSION_1_7\ntargetCompatibility = JavaVersion.VERSION_1_7\n}\n' ../eclipse-compile/appcompat/build.gradle build.gradle
gradle=full,legacy,fat
buildjni=no
ndk=r10d