diff options
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/build.gradle')
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/build.gradle | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/build.gradle b/platform/android/MapboxGLAndroidSDK/build.gradle index b111deb0c8..d1ac19a1a7 100644 --- a/platform/android/MapboxGLAndroidSDK/build.gradle +++ b/platform/android/MapboxGLAndroidSDK/build.gradle @@ -1,26 +1,19 @@ apply plugin: 'com.android.library' dependencies { - compile rootProject.ext.dep.supportAnnotations - compile rootProject.ext.dep.supportFragmentV4 - compile rootProject.ext.dep.timber - compile rootProject.ext.dep.okhttp3 - provided rootProject.ext.dep.lost - testCompile rootProject.ext.dep.junit - testCompile rootProject.ext.dep.mockito - - // Mapbox Android Services (GeoJSON support) - compile(rootProject.ext.dep.mapboxJavaGeoJSON) { - transitive = true - } + implementation rootProject.ext.dep.supportAnnotations + implementation rootProject.ext.dep.supportFragmentV4 + implementation rootProject.ext.dep.okhttp3 + implementation rootProject.ext.dep.timber + implementation rootProject.ext.dep.mapboxJavaGeoJSON - // Mapbox Android Services (Telemetry support) - compile(rootProject.ext.dep.mapboxAndroidTelemetry) { - transitive = true - exclude group: 'com.android.support' - } + api rootProject.ext.dep.mapboxAndroidTelemetry + api rootProject.ext.dep.mapboxAndroidCore + + compileOnly rootProject.ext.dep.lost - compile(rootProject.ext.dep.mapboxAndroidCore) + testImplementation rootProject.ext.dep.junit + testImplementation rootProject.ext.dep.mockito } android { |