Skip to content

Commit

Permalink
Fix #342 - Exclude play-services-ads from dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
barbeau committed Oct 27, 2015
1 parent 20d9450 commit e0c168a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion onebusaway-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,9 @@ tasks.whenTaskAdded { theTask ->
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
// Google Play Services Analytics (we need this on Amazon flavor too)
compile 'com.google.android.gms:play-services-analytics:8.1.0'
compile('com.google.android.gms:play-services-analytics:8.1.0') {
exclude module: 'play-services-ads' // See #342
}
// Google Play Services Location (we need this on Amazon flavor too)
compile 'com.google.android.gms:play-services-location:8.1.0'
// Support libraries
Expand Down
3 changes: 3 additions & 0 deletions onebusaway-android/proguard-project.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@

# SearchView
-keep class android.support.v7.widget.SearchView { *; }

# Below is required to do a release build as of Play Services 8.1 - see #342
-dontwarn com.google.android.gms.ads.**

0 comments on commit e0c168a

Please sign in to comment.