Removed prebuild sed patch from ca.rmen.android.frenchcalendar.txt.
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.
This commit is contained in:
parent
8b52382ace
commit
c6fb78ea32
|
@ -71,13 +71,11 @@ Build:1.8.0,180
|
|||
commit=release-1.8.0
|
||||
subdir=handheld
|
||||
gradle=foss
|
||||
prebuild=sed -i '/play-services/d' build.gradle ../wearable/build.gradle
|
||||
|
||||
Build:1.8.1,181
|
||||
commit=release-1.8.1
|
||||
subdir=handheld
|
||||
gradle=foss
|
||||
prebuild=sed -i '/play-services/d' build.gradle ../wearable/build.gradle
|
||||
|
||||
Auto Update Mode:Version release-%v
|
||||
Update Check Mode:Tags ^release-
|
||||
|
|
Loading…
Reference in a new issue