diff options
author | Tobrun <tobrun.van.nuland@gmail.com> | 2017-11-23 14:32:35 +0100 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2017-12-19 13:39:38 +0100 |
commit | 228aadc07e4a79644af0565771a67df585105f7b (patch) | |
tree | 95afccf286e33bcb4acc99d7eb93acd42c8ebe41 /platform/android/MapboxGLAndroidSDK/build.gradle | |
parent | 1b0a5f633a6a6e826b0ec2b27d6c08712d6dd4cb (diff) | |
download | qtlocation-mapboxgl-228aadc07e4a79644af0565771a67df585105f7b.tar.gz |
[android] - bump gradle syntax to 4.1
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/build.gradle')
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/build.gradle | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/build.gradle b/platform/android/MapboxGLAndroidSDK/build.gradle index 24cfac50f8..32eeab138f 100644 --- a/platform/android/MapboxGLAndroidSDK/build.gradle +++ b/platform/android/MapboxGLAndroidSDK/build.gradle @@ -1,27 +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) { + api rootProject.ext.dep.mapboxAndroidTelemetry + api rootProject.ext.dep.mapboxJavaGeoJSON + implementation rootProject.ext.dep.supportAnnotations + implementation rootProject.ext.dep.supportFragmentV4 + implementation rootProject.ext.dep.timber + implementation rootProject.ext.dep.okhttp3 + compileOnly(rootProject.ext.dep.lost) { exclude group: 'com.google.guava' exclude group: 'com.android.support' } - testCompile rootProject.ext.dep.junit - testCompile rootProject.ext.dep.mockito - - // Mapbox Android Services (GeoJSON support) - compile(rootProject.ext.dep.mapboxJavaGeoJSON) { - transitive = true - } - - // Mapbox Android Services (Telemetry support) - compile(rootProject.ext.dep.mapboxAndroidTelemetry) { - transitive = true - exclude group: 'com.android.support' - } + testImplementation rootProject.ext.dep.lost + testImplementation rootProject.ext.dep.junit + testImplementation rootProject.ext.dep.mockito } android { |