diff options
author | Tobrun <tobrun.van.nuland@gmail.com> | 2017-02-15 19:56:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-15 19:56:31 +0100 |
commit | 0c0d7ceaebf822ababc7147c494e88f4c16e18e3 (patch) | |
tree | 024437c194098cd9c8049cb0573c026df50e4328 /platform/android/dependencies.gradle | |
parent | 8f1c580ea164b47644e4dd935e7d30afe5872a96 (diff) | |
download | qtlocation-mapboxgl-0c0d7ceaebf822ababc7147c494e88f4c16e18e3.tar.gz |
[android] - use project wide configurations for all modules + fixup wear compile error (#8066)
Diffstat (limited to 'platform/android/dependencies.gradle')
-rw-r--r-- | platform/android/dependencies.gradle | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/platform/android/dependencies.gradle b/platform/android/dependencies.gradle new file mode 100644 index 0000000000..9d0fe05f1c --- /dev/null +++ b/platform/android/dependencies.gradle @@ -0,0 +1,48 @@ +ext { + minSdkVersion = 15 + targetSdkVersion = 25 + compileSdkVersion = 25 + buildToolsVersion = "25.0.2" + + versionCode = 11 + versionName = "5.0.0" + + supportLibVersion = "25.1.1" + leakCanaryVersion = '1.5' + wearableVersion = '2.0.0' + + espressoVersion = '2.2.2' + testRunnerVersion = '0.5' + + dep = [ + // mapbox + mapboxJavaServices : 'com.mapbox.mapboxsdk:mapbox-java-services:2.0.0-beta.1@jar', + + // unit test + junit : 'junit:junit:4.12', + mockito : 'org.mockito:mockito-core:2.2.27', + + // instrumentation test + testSpoonRunner : 'com.squareup.spoon:spoon-client:1.6.2', + testRunner : "com.android.support.test:runner:${testRunnerVersion}", + testRules : "com.android.support.test:rules:${testRunnerVersion}", + testEspressoCore : "com.android.support.test.espresso:espresso-core:${espressoVersion}", + testEspressoIntents: "com.android.support.test.espresso:espresso-intents:${espressoVersion}", + + // support + supportAnnotations : "com.android.support:support-annotations:${supportLibVersion}", + supportAppcompatV7 : "com.android.support:appcompat-v7:${supportLibVersion}", + supportV4 : "com.android.support:support-v4:${supportLibVersion}", + supportDesign : "com.android.support:design:${supportLibVersion}", + supportRecyclerView: "com.android.support:recyclerview-v7:${supportLibVersion}", + + // wear + wearCompile : "com.google.android.support:wearable:${wearableVersion}", + wearProvided : "com.google.android.wearable:wearable:${wearableVersion}", + + // leakCanary + leakCanaryDebug : "com.squareup.leakcanary:leakcanary-android:${leakCanaryVersion}", + leakCanaryRelease : "com.squareup.leakcanary:leakcanary-android-no-op:${leakCanaryVersion}", + leakCanaryTest : "com.squareup.leakcanary:leakcanary-android-no-op:${leakCanaryVersion}" + ] +}
\ No newline at end of file |