55 lines
2.6 KiB
Groovy
55 lines
2.6 KiB
Groovy
ext {
|
|
minSdkVersion = 15
|
|
targetSdkVersion = 25
|
|
compileSdkVersion = 25
|
|
buildToolsVersion = "25.0.2"
|
|
|
|
versionCode = 11
|
|
versionName = "5.0.0"
|
|
|
|
mapboxServicesVersion = "2.1.3"
|
|
supportLibVersion = "25.3.1"
|
|
wearableVersion = '2.0.0'
|
|
espressoVersion = '2.2.2'
|
|
testRunnerVersion = '0.5'
|
|
leakCanaryVersion = '1.5'
|
|
|
|
dep = [
|
|
// mapbox
|
|
mapboxJavaServices : "com.mapbox.mapboxsdk:mapbox-java-services:${mapboxServicesVersion}@jar",
|
|
mapboxJavaGeoJSON : "com.mapbox.mapboxsdk:mapbox-java-geojson:${mapboxServicesVersion}@jar",
|
|
mapboxAndroidTelemetry : "com.mapbox.mapboxsdk:mapbox-android-telemetry:${mapboxServicesVersion}@aar",
|
|
|
|
// mapzen lost
|
|
lost : 'com.mapzen.android:lost:1.1.1',
|
|
|
|
// 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}",
|
|
|
|
// square crew
|
|
timber : 'com.jakewharton.timber:timber:4.5.1',
|
|
okhttp3 : 'com.squareup.okhttp3:okhttp:3.7.0',
|
|
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}"
|
|
]
|
|
} |