Skip to content

Commit

Permalink
fix: Enable multidex (#44)
Browse files Browse the repository at this point in the history
Change-Id: Ic53a8e0386c1b6319be03a6d9f052dd3bd93347a
  • Loading branch information
arriolac committed Jul 20, 2021
1 parent 36b7279 commit f05fc22
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ android {
targetSdkVersion 30
versionCode 1
versionName "1.0"
multiDexEnabled true
}

buildTypes {
Expand All @@ -55,6 +56,7 @@ dependencies {
implementation "androidx.appcompat:appcompat:1.3.0"
implementation "androidx.core:core-ktx:1.6.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.5.21"
implementation 'androidx.multidex:multidex:2.0.1'
api "com.google.android.libraries.places:places:2.4.0"
implementation "com.google.android.gms:play-services-maps:17.0.1"
implementation "androidx.fragment:fragment-ktx:1.3.5"
Expand Down
2 changes: 2 additions & 0 deletions places-ktx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ android {
targetSdkVersion 30
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
multiDexEnabled true
}

kotlinOptions {
Expand All @@ -44,6 +45,7 @@ dependencies {
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.1"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1"
implementation "com.android.volley:volley:1.2.0"
implementation 'androidx.multidex:multidex:2.0.1'
api "org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.5.1"
api "com.google.android.libraries.places:places:2.4.0"

Expand Down
2 changes: 2 additions & 0 deletions places-v3-ktx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ android {
targetSdkVersion 30
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
multiDexEnabled true
}

kotlinOptions {
Expand All @@ -25,6 +26,7 @@ dependencies {
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.1"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1"
implementation "com.android.volley:volley:1.2.0"
implementation 'androidx.multidex:multidex:2.0.1'
api "org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.5.1"
api "com.google.android.libraries.maps:maps:3.1.0-beta"
api "com.google.android.gms:play-services-gcm:17.0.0"
Expand Down

0 comments on commit f05fc22

Please sign in to comment.