-
Notifications
You must be signed in to change notification settings - Fork 119
/
Copy pathdependencies.gradle
103 lines (91 loc) · 4.86 KB
/
dependencies.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
ext {
androidVersions = [
minSdkVersion : 14,
targetSdkVersion : 28,
compileSdkVersion: 28,
]
version = [
mapboxMapSdk : '9.5.0',
mapboxJava : '5.5.0',
mapboxTurf : '5.5.0',
playLocation : '16.0.0',
autoValue : '1.5.4',
autoValueParcel : '0.2.6',
junit : '4.12',
supportLib : '28.0.0',
constraintLayout : '1.1.2',
mockito : '2.23.4',
mockk : '1.9.3',
leakCanary : '1.6.3',
timber : '4.7.1',
testRunner : '1.0.2',
espresso : '3.0.2',
lifecycleCompiler : '1.1.1',
lifecycleExtensions: '1.1.1',
lifecycleLiveData : '1.1.1',
room : '1.1.0',
androidArchCore : '1.1.0',
robolectric : '3.8'
]
pluginVersion = [
checkstyle: '8.10.1',
gradle : '3.4.0',
kotlin : '1.3.50',
dokka : '0.9.17',
kotlinLint: '8.1.0'
]
dependenciesList = [
// mapbox
mapboxMapSdk : "com.mapbox.mapboxsdk:mapbox-android-sdk:${version.mapboxMapSdk}",
mapboxGeoJson : "com.mapbox.mapboxsdk:mapbox-sdk-geojson:${version.mapboxJava}",
mapboxGeocoding : "com.mapbox.mapboxsdk:mapbox-sdk-services:${version.mapboxJava}",
mapboxTurf : "com.mapbox.mapboxsdk:mapbox-sdk-turf:${version.mapboxTurf}",
// Google Play Location
playLocation : "com.google.android.gms:play-services-location:${version.playLocation}",
// AutoValue
autoValue : "com.google.auto.value:auto-value:${version.autoValue}",
autoValuesParcel : "com.ryanharter.auto.value:auto-value-parcel:${version.autoValueParcel}",
autoValuesParcelAdapter: "com.ryanharter.auto.value:auto-value-parcel-adapter:${version.autoValueParcel}",
// support
supportAnnotation : 'androidx.annotation:annotation:1.0.0',
supportAppcompatV7 : 'androidx.appcompat:appcompat:1.0.0',
supportV4 : 'androidx.legacy:legacy-support-v4:1.0.0',
supportDesign : 'com.google.android.material:material:1.0.0',
supportRecyclerView : 'androidx.recyclerview:recyclerview:1.0.0',
supportCardView : 'androidx.cardview:cardview:1.0.0',
supportConstraintLayout: 'androidx.constraintlayout:constraintlayout:1.1.3',
// architecture
lifecycleExtensions : 'androidx.lifecycle:lifecycle-extensions:2.0.0',
lifecycleCompiler : "android.arch.lifecycle:compiler:${version.lifecycleCompiler}",
roomRuntime : 'androidx.room:room-runtime:2.0.0',
roomCompiler : 'androidx.room:room-compiler:2.0.0',
// square crew
timber : "com.jakewharton.timber:timber:${version.timber}",
leakCanaryDebug : "com.squareup.leakcanary:leakcanary-android:${version.leakCanary}",
leakCanaryRelease : "com.squareup.leakcanary:leakcanary-android-no-op:${version.leakCanary}",
leakCanaryTest : "com.squareup.leakcanary:leakcanary-android-no-op:${version.leakCanary}",
// instrumentation test
testRunner : 'androidx.test.ext:junit:1.1.1',
testRules : 'androidx.test:rules:1.1.1',
testEspressoCore : 'androidx.test.espresso:espresso-core:3.1.0',
testEspressoIntents : "com.android.support.test.espresso:espresso-intents:${version.espresso}",
testRoom : 'androidx.room:room-testing:2.0.0',
testArchCore : 'androidx.arch.core:core-testing:2.0.0',
mockitoCore : "org.mockito:mockito-core:${version.mockito}",
mockitoAndroid : "org.mockito:mockito-android:${version.mockito}",
mockk : "io.mockk:mockk:${version.mockk}",
// unit test
junit : "junit:junit:${version.junit}",
mockito : "org.mockito:mockito-inline:${version.mockito}",
androidArchCore : 'androidx.arch.core:core-testing:2.0.0',
robolectric : "org.robolectric:robolectric:${version.robolectric}",
kotlin : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${pluginVersion.kotlin}",
]
pluginDependencies = [
gradle : "com.android.tools.build:gradle:${pluginVersion.gradle}",
checkstyle: "com.puppycrawl.tools:checkstyle:${pluginVersion.checkstyle}",
kotlin : "org.jetbrains.kotlin:kotlin-gradle-plugin:${pluginVersion.kotlin}",
dokka : "org.jetbrains.dokka:dokka-android-gradle-plugin:${pluginVersion.dokka}",
kotlinLint: "org.jlleitschuh.gradle:ktlint-gradle:${pluginVersion.kotlinLint}"
]
}