Skip to content

Commit

Permalink
Multidex support
Browse files Browse the repository at this point in the history
#17
- selective compiling google.android.gms:play-services
- remove multidex support
  • Loading branch information
eurosecom committed May 15, 2017
1 parent 3f7c3d0 commit cec56d1
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ android {
applicationId "com.eusecom.attendance"
minSdkVersion 18
targetSdkVersion 23
versionCode 1
versionName "1.0"
//try Selectively compiling com.google.android.gms:play-services APIs into your executable
versionCode 2
versionName "2.0"
//try Selectively compiling com.google.android.gms:play-services APIs, do not need multi dex
//https://developers.google.com/android/guides/setup
multiDexEnabled true
multiDexEnabled false

}
buildTypes {
Expand Down Expand Up @@ -68,7 +68,10 @@ dependencies {
compile 'com.google.firebase:firebase-messaging:9.6.0'

//google maps
compile 'com.google.android.gms:play-services:9.6.0'
//compile 'com.google.android.gms:play-services:9.6.0' need multi dex
//selective compiling google.android.gms:play-services, do not need multi dex
compile 'com.google.android.gms:play-services-maps:9.6.0'


//picasso
compile 'com.squareup.picasso:picasso:2.5.0'
Expand All @@ -85,11 +88,13 @@ dependencies {
compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
compile 'io.reactivex:rxandroid:1.2.0'


// Because RxAndroid releases are few and far between, it is recommended you also
// explicitly depend on RxJava's latest version for bug fixes and new features.


// libs like rxbinding + rxjava-math haven't been ported to RxJava 2.x yet, so this helps
compile "com.github.akarnokd:rxjava2-interop:0.6.1"
compile 'io.reactivex:rxjava-math:1.0.0'
compile 'com.jakewharton.rxrelay2:rxrelay:2.0.0'
compile 'com.jakewharton.rxbinding:rxbinding:0.2.0'
compile 'com.jakewharton.retrofit:retrofit2-rxjava2-adapter:1.0.0'
compile 'com.jakewharton:butterknife:7.0.1'

}

Expand Down

0 comments on commit cec56d1

Please sign in to comment.