forked from kinecosystem/kin-core-android-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdependencies.gradle
More file actions
31 lines (26 loc) · 1013 Bytes
/
Copy pathdependencies.gradle
File metadata and controls
31 lines (26 loc) · 1013 Bytes
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
ext {
//Version
supportVersion = '26.+'
junitVersion = '4.12'
mockitoVersion = '2.10.0'
jUnitParamsVersion = '1.1.1'
gsonVersion = '2.8.2'
//Packages
supportPackage = 'com.android.support'
mockitoPackage = 'org.mockito'
junitPackage = 'junit'
jUnitParamsPackage = 'pl.pragmatists'
gsonPackage = 'com.google.code.gson'
supportDependencies = [
appCompat: buildDependency(supportPackage, 'appcompat-v7', supportVersion),
]
testingDependencies = [
junit : buildDependency(junitPackage, 'junit', junitVersion),
mockitoAndroid: buildDependency(mockitoPackage, "mockito-android", mockitoVersion),
junitParams : buildDependency(jUnitParamsPackage, "JUnitParams", jUnitParamsVersion),
gson : buildDependency(gsonPackage, "gson", gsonVersion),
]
}
static String buildDependency(String pack, String dependency, String version) {
return "${pack}:${dependency}:${version}"
}