Instead of sed-patching the wearable/build.gradle file, which isn't even
read when building french calendar, just ignore the file altogether,
for the scanning phase.
This is not needed. In addition to only declaring the google
play services dependency in the wear flavor (not used in frdoid),
like this:
```
wearCompile 'com.google.android.gms:play-services:6.1.71'
```
there is an additional check to ensure that this line is not
even executed, as long as at least one of the tasks in the
gradle command line contains the string "foss".
In settings.gradle:
```
boolean includeWear=true;
// If we are building with a "foss" task, don't include the wearable module.
for(String taskName : startParameter.taskNames) {
if(taskName.contains("Foss"))
includeWear=false;
}
include ':handheld', ':common'
if(includeWear)
include ':wearable'
```
In handheld/build.gradle:
```
// Package the wear apk inside this one (only for the 'wear' flavor)
if(rootProject.findProject("wearable") != null) {
wearCompile 'com.google.android.gms:play-services:6.1.71'
wearWearApp project(':wearable')
}
```
I understand that most projects with proprietary vs foss flavors
don't have this additional check, which is why the sed patch is
usually needed.
* New feature to change the color of the widget
* Updated the app description, which was already out of date.
* Simpler gradle configuration in the metadata file:
The source repo (https://github.com/caarmen/FRCAndroidWidget)
has been modified so that if you build with any task containing
"Foss" in the task name, the wearable module is not included.
This was done in this commit: 92bd523959
fdroid builds with "assembleFossRelease", so the wearable module
will be skipped.
Version 1.4.0 of French Calendar is built using gradle.
The "foss" flavor uses only open source software.
The "wear" flavor uses Google Play Services for android wear
integration.
For F-Droid the build is configured to use the "foss" flavor.