diff options
author | Tobrun <tobrun.van.nuland@gmail.com> | 2018-01-17 20:22:14 +0100 |
---|---|---|
committer | Tobrun <tobrun.van.nuland@gmail.com> | 2018-01-17 20:22:14 +0100 |
commit | f534dbe71a2bd01e7f575c8cfbd28d5cc2e1ad5d (patch) | |
tree | 1ac42fc944535a7c23da4e56554501733888b293 /platform/android/MapboxGLAndroidSDKTestApp/build.gradle | |
parent | 42bcb4b405a4bdc344c6c3d260cf4521e05943cc (diff) | |
download | qtlocation-mapboxgl-upstream/tvn-dependencies-cleanup.tar.gz |
[android] - cleaup dependencies.gradleupstream/tvn-dependencies-cleanup
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/build.gradle')
-rw-r--r-- | platform/android/MapboxGLAndroidSDKTestApp/build.gradle | 49 |
1 files changed, 21 insertions, 28 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/build.gradle b/platform/android/MapboxGLAndroidSDKTestApp/build.gradle index 42b0a629e8..3723ae2acf 100644 --- a/platform/android/MapboxGLAndroidSDKTestApp/build.gradle +++ b/platform/android/MapboxGLAndroidSDKTestApp/build.gradle @@ -1,15 +1,15 @@ apply plugin: 'com.android.application' android { - compileSdkVersion rootProject.ext.compileSdkVersion - buildToolsVersion rootProject.ext.buildToolsVersion + compileSdkVersion androidVersions.compileSdkVersion + buildToolsVersion androidVersions.buildToolsVersion defaultConfig { applicationId "com.mapbox.mapboxsdk.testapp" - minSdkVersion rootProject.ext.minSdkVersion - targetSdkVersion rootProject.ext.targetSdkVersion - versionCode rootProject.ext.versionCode - versionName rootProject.ext.versionName + minSdkVersion androidVersions.minSdkVersion + targetSdkVersion androidVersions.targetSdkVersion + versionCode 12 + versionName "6.0.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } @@ -53,31 +53,24 @@ android { dependencies { implementation(project(':MapboxGLAndroidSDK')) - - // Support libraries - implementation rootProject.ext.dep.supportAppcompatV7 - implementation rootProject.ext.dep.supportRecyclerView - implementation rootProject.ext.dep.supportDesign - - // Leak Canary - debugImplementation rootProject.ext.dep.leakCanaryDebug - releaseImplementation rootProject.ext.dep.leakCanaryRelease - - // Timber - implementation rootProject.ext.dep.timber - - // Mapbox Android Services (Java component) - implementation(rootProject.ext.dep.mapboxJavaServices) { + implementation(dependenciesList.mapboxJavaServices) { transitive = true } - implementation rootProject.ext.dep.lost - // Testing dependencies - androidTestImplementation rootProject.ext.dep.supportAnnotations - androidTestImplementation rootProject.ext.dep.testRunner - androidTestImplementation rootProject.ext.dep.testRules - androidTestImplementation rootProject.ext.dep.testEspressoCore - androidTestImplementation rootProject.ext.dep.testEspressoIntents + implementation dependenciesList.supportAppcompatV7 + implementation dependenciesList.supportRecyclerView + implementation dependenciesList.supportDesign + + implementation dependenciesList.lost + implementation dependenciesList.timber + debugImplementation dependenciesList.leakCanaryDebug + releaseImplementation dependenciesList.leakCanaryRelease + + androidTestImplementation dependenciesList.supportAnnotations + androidTestImplementation dependenciesList.testRunner + androidTestImplementation dependenciesList.testRules + androidTestImplementation dependenciesList.testEspressoCore + androidTestImplementation dependenciesList.testEspressoIntents } apply from: "${rootDir}/gradle/gradle-make.gradle" |