From f0dc295bde004ff8cdefae1e7bfe161ae2a55ac3 Mon Sep 17 00:00:00 2001 From: Eric House Date: Mon, 2 May 2016 21:45:53 -0700 Subject: [PATCH 1/2] break gradle release builds with an error message that will, with luck, communicate to the f-droid maintainer that ant it still the way to build. Should stop the flood of error reports from f-droid users. --- xwords4/android/XWords4/app/build.gradle | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/xwords4/android/XWords4/app/build.gradle b/xwords4/android/XWords4/app/build.gradle index eeb249fea..4a1b9fa8c 100644 --- a/xwords4/android/XWords4/app/build.gradle +++ b/xwords4/android/XWords4/app/build.gradle @@ -114,6 +114,18 @@ android { } } +// Prevent release builds. They haven't been tested, and now that +// f-droid has been releasing them they're KNOWN not to work. +android.applicationVariants.all { variant -> + if ( variant.name.endsWith("Release") ) { + String NAME = "check" + variant.name.capitalize() + "Manifest" + task "$NAME"(overwrite: true) << { + throw new RuntimeException('<<<<< Release builds should not be built ' + + 'using gradle! Please use ant for now. >>>>>'); + } + } +} + dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) } From c013c152d726c6fe17989e8b0248c5b715eb5355 Mon Sep 17 00:00:00 2001 From: Eric House Date: Mon, 2 May 2016 21:56:11 -0700 Subject: [PATCH 2/2] up version strings for release 107 (f-droid only is the plan) --- xwords4/android/XWords4/AndroidManifest.xml | 2 +- xwords4/android/XWords4/assets/changes.html | 11 ++++------- xwords4/android/XWords4/res/values/app_name.xml | 2 +- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/xwords4/android/XWords4/AndroidManifest.xml b/xwords4/android/XWords4/AndroidManifest.xml index 3aa9f441e..12f100283 100644 --- a/xwords4/android/XWords4/AndroidManifest.xml +++ b/xwords4/android/XWords4/AndroidManifest.xml @@ -22,7 +22,7 @@ to come from a domain that you own or have control over. --> diff --git a/xwords4/android/XWords4/assets/changes.html b/xwords4/android/XWords4/assets/changes.html index 4a31f67a2..cace9b2c8 100644 --- a/xwords4/android/XWords4/assets/changes.html +++ b/xwords4/android/XWords4/assets/changes.html @@ -13,9 +13,10 @@ -

Crosswords 4.4.106 release

+

Crosswords 4.4.107 release

-

This version improves chat display and battery life

+

This version, for F-droid release only, fixes build problems that + caused a number of crashes and other issues.