Fix UnitConverterUltimate build

The build was failing because some of the resources needed to support
donations (license key and whatnot) aren't included in the source.

This commit fixes the build by deleting the classes that required those
resources, as well as adding a prebuild command that removes the donate
option from the app's preference menu and manifest.
This commit is contained in:
Carey Metcalfe 2016-10-27 11:04:58 -04:00
parent 6bd0e17664
commit 8eb3245e9f

View file

@ -25,6 +25,9 @@ Build:4.3,40300
commit=v4.2
subdir=app
gradle=yes
rm=app/src/main/java/com/physphil/android/unitconverterultimate/DonateActivity.java,app/src/main/java/com/physphil/android/unitconverterultimate/ui/DonationListAdapter.java
prebuild=perl -0 -p -i -e 's|<Preference\s[^<]*<intent\s[^<]*\.DonateActivity".*?</Preference>\s*||s' app/src/main/res/xml/preferences.xml && \
perl -0 -p -i -e 's|<activity\s[^<]*"\.DonateActivity".*?/>\s*||s' app/src/main/AndroidManifest.xml
Auto Update Mode:Version v%v
Update Check Mode:Tags