-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdependencies.gradle
110 lines (103 loc) · 4.68 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
104
105
106
107
108
109
110
ext.sdk = [
minVersion : 21,
targetVersion : 25,
compileVersion : 25,
buildToolsVersion: "27.0.3"
]
ext.versions = [
gradleBuildTools : '3.0.1',
dexcount : '0.8.2',
benManes : '0.17.0',
androidSupport : '25.3.1',
superSimple : '0.1.7',
rxJava : '2.1.8',
rxAndroid : '2.0.1',
kotlin : '1.3.21',
dagger : '2.14.1',
requery : '1.5.0',
gson : '2.8.2',
paperParcel : '2.0.5',
okHttp : '3.9.1',
retrofit2 : '2.3.0',
retrofit2RxJava2 : '1.0.0',
picasso : '2.5.2',
androidTestSupport: '0.4.1',
espresso : '2.2.2',
junit : '4.12',
mockito : '2.13.0',
mockitoKotlin : '1.5.0',
dexmaker : '2.2.0',
wiremock : '2.18.0',
slf4j : '1.7.25'
]
ext.gradlePlugins = [
android : "com.android.tools.build:gradle:$versions.gradleBuildTools",
kotlin : "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin",
versions: "com.github.ben-manes:gradle-versions-plugin:$versions.benManes",
dexcount: "com.getkeepsafe.dexcount:dexcount-gradle-plugin:$versions.dexcount",
]
// App dependencies
ext.libraries = [
androidSupport: "com.android.support:appcompat-v7:$versions.androidSupport",
androidDesign : "com.android.support:design:$versions.androidSupport",
kotlin : "org.jetbrains.kotlin:kotlin-stdlib:$versions.kotlin",
kotlinReflect : "org.jetbrains.kotlin:kotlin-reflect:$versions.kotlin",
superSimple : "org.bitbucket.nxtapp.supersimpleandroid:simple-ui:$versions.superSimple",
rxJava : "io.reactivex.rxjava2:rxjava:$versions.rxJava",
rxAndroid : "io.reactivex.rxjava2:rxandroid:$versions.rxAndroid",
dagger : "com.google.dagger:dagger:$versions.dagger",
requery : [
core : "io.requery:requery:$versions.requery",
kotlin : "io.requery:requery-kotlin:$versions.requery",
android: "io.requery:requery-android:$versions.requery"
],
paperParcel : [
core : "nz.bradcampbell:paperparcel:$versions.paperParcel",
kotlin: "nz.bradcampbell:paperparcel-kotlin:$versions.paperParcel"
],
gson : "com.google.code.gson:gson:$versions.gson",
okHttp : [
core : "com.squareup.okhttp3:okhttp:$versions.okHttp",
loggingInterceptor: "com.squareup.okhttp3:logging-interceptor:$versions.okHttp"
],
retrofit2 : [
core : "com.squareup.retrofit2:retrofit:$versions.retrofit2",
gsonconverter: "com.squareup.retrofit2:converter-gson:$versions.retrofit2",
rxjava2 : "com.jakewharton.retrofit:retrofit2-rxjava2-adapter:$versions.retrofit2RxJava2"
],
picasso : "com.squareup.picasso:picasso:$versions.picasso"
]
ext.kaptPlugin = [
dagger : [
compiler: "com.google.dagger:dagger-compiler:$versions.dagger"
],
requery : [
processor: "io.requery:requery-processor:$versions.requery"
],
paperParcel: [
compiler: "nz.bradcampbell:paperparcel-compiler:$versions.paperParcel"
]
]
// UI Test
ext.androidTest = [
supportAnnotations: "com.android.support:support-annotations:$versions.androidSupport",
testRunner : "com.android.support.test:runner:$versions.androidTestSupport",
testRules : "com.android.support.test:rules:$versions.androidTestSupport",
espresso : [
core : "com.android.support.test.espresso:espresso-core:$versions.espresso",
contrib: "com.android.support.test.espresso:espresso-contrib:$versions.espresso",
intents: "com.android.support.test.espresso:espresso-intents:$versions.espresso"
],
mockito : "org.mockito:mockito-core:$versions.mockito",
dexmaker : "com.linkedin.dexmaker:dexmaker-mockito:$versions.dexmaker"
]
// test
ext.test = [
junit : "junit:junit:$versions.junit",
mockito : [
core : "org.mockito:mockito-core:$versions.mockito",
kotlin: "com.nhaarman:mockito-kotlin:$versions.mockitoKotlin"
],
wiremock : "com.github.tomakehurst:wiremock:$versions.wiremock",
slf4j : "org.slf4j:slf4j-simple:$versions.slf4j"
]