From 8eb3245e9fbcfa55f203ea4a72fc496720fe77d0 Mon Sep 17 00:00:00 2001 From: Carey Metcalfe Date: Thu, 27 Oct 2016 11:04:58 -0400 Subject: [PATCH] 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. --- metadata/com.physphil.android.unitconverterultimate.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/metadata/com.physphil.android.unitconverterultimate.txt b/metadata/com.physphil.android.unitconverterultimate.txt index f02adad1b7..27124944c1 100644 --- a/metadata/com.physphil.android.unitconverterultimate.txt +++ b/metadata/com.physphil.android.unitconverterultimate.txt @@ -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|\s*||s' app/src/main/res/xml/preferences.xml && \ + perl -0 -p -i -e 's|\s*||s' app/src/main/AndroidManifest.xml Auto Update Mode:Version v%v Update Check Mode:Tags