@@ -12,6 +12,7 @@ android {
1212 applicationId " com.mapbox.mapboxsdk.plugins.testapp"
1313 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
1414 vectorDrawables. useSupportLibrary = true
15+ multiDexEnabled = true
1516 }
1617
1718 buildTypes {
@@ -42,19 +43,6 @@ android {
4243 }
4344}
4445
45- // Disable Leak Canary for UI and unit test.
46- configurations. all { config ->
47- if (config. name. contains(' UnitTest' ) || config. name. contains(' AndroidTest' )) {
48- config. resolutionStrategy. eachDependency { details ->
49- if (details. requested. group == ' com.squareup.leakcanary'
50- && details. requested. name == ' leakcanary-android' ) {
51- details. useTarget(group : details. requested. group, name : ' leakcanary-android-no-op' ,
52- version : details. requested. version)
53- }
54- }
55- }
56- }
57-
5846dependencies {
5947 // Kotlin
6048 implementation dependenciesList. kotlin
@@ -64,12 +52,15 @@ dependencies {
6452 exclude group : ' android.arch.lifecycle'
6553 exclude group : ' com.google.android.gms'
6654 })
67- implementation dependenciesList. mapboxGeocoding
55+ implementation (dependenciesList. mapboxGeocoding, {
56+ exclude group : ' com.squareup.okhttp3'
57+ })
6858 implementation dependenciesList. mapboxTurf
6959
7060 // Architecture
7161 implementation dependenciesList. lifecycleExtensions
7262 implementation dependenciesList. roomRuntime
63+ implementation dependenciesList. androidxMultidex
7364 kapt dependenciesList. roomCompiler
7465
7566 // Google Play Services
@@ -103,8 +94,6 @@ dependencies {
10394
10495 // Leak canary
10596 debugImplementation dependenciesList. leakCanaryDebug
106- releaseImplementation dependenciesList. leakCanaryRelease
107- testImplementation dependenciesList. leakCanaryTest
10897
10998 // Plugin modules
11099 implementation project(' :plugin-traffic' )
0 commit comments