-
Notifications
You must be signed in to change notification settings - Fork 29
/
dependencies.gradle
76 lines (66 loc) · 3.35 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
ext {
//Main configuration values
gradlePluginVersion = "2.3.3"
kotlinVersion = "1.1.4-3"
realmVersion = "3.7.2"
compileSdkVersion = 26
buildToolsVersion = '26.0.1'
targetSdkVersion = compileSdkVersion
minSdkVersion = 19
testInstrumentationRunner = "android.support.test.runner.AndroidJUnitRunner"
customTestInstrumentationRunner = "com.cesarvaliente.kunidirectional.TestRunner"
//Anko
ankoVersion = '0.10.1'
// Support Libraries
supportVersion = "26.1.0"
// Instrumentation test
espressoVersion = "3.0.1"
testRunnerVersion = "1.0.1"
testRulesVersion = "1.0.1"
//Unit test
junitVersion = "4.12"
mockitoVersion = "2.7.12"
hamcrestVersion = "1.3"
robolectricVersion = "3.2.2"
dexmakerMockitoVersion = "2.2.0"
mockitoKotlinVersion = "1.3.0"
config = [
gradlePlugin : "com.android.tools.build:gradle:$gradlePluginVersion",
kotlinGradlePlugin : "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion",
kotlinAndroidExtensions: "org.jetbrains.kotlin:kotlin-android-extensions:$kotlinVersion",
realmPlugin : "io.realm:realm-gradle-plugin:$realmVersion"
]
kotlinDependencies = [
kotlinStdlib : "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion",
kotlinReflect: "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
]
ankoDependencies = [
ankoCommon: "org.jetbrains.anko:anko-common:$ankoVersion"
]
supportDependencies = [
supportCoreUiV4 : "com.android.support:support-core-ui:${supportVersion}",
supportFragmentV4 : "com.android.support:support-fragment:${supportVersion}",
supportAnnotations: "com.android.support:support-annotations:${supportVersion}",
appCompatV7 : "com.android.support:appcompat-v7:${supportVersion}",
recyclerViewV7 : "com.android.support:recyclerview-v7:${supportVersion}",
cardViewV7 : "com.android.support:cardview-v7:${supportVersion}",
supportDesign : "com.android.support:design:${supportVersion}",
supportCoreUtils : "com.android.support:support-core-utils:${supportVersion}"
]
instrumentationTestDependencies = [
espressoCore : "com.android.support.test.espresso:espresso-core:${espressoVersion}",
espressoContrib : "com.android.support.test.espresso:espresso-contrib:${espressoVersion}",
espressoIdlingResources: "com.android.support.test.espresso:espresso-idling-resource:${espressoVersion}",
testRunner : "com.android.support.test:runner:${testRunnerVersion}",
testRules : "com.android.support.test:rules:${testRulesVersion}"
]
unitTestDependencies = [
junit : "junit:junit:${junitVersion}",
mockito : "org.mockito:mockito-core:${mockitoVersion}",
hamcrestLibrary: "org.hamcrest:hamcrest-library:${hamcrestVersion}",
hamcrestCore : "org.hamcrest:hamcrest-core:${hamcrestVersion}",
robolectric : "org.robolectric:robolectric:${robolectricVersion}",
dexmakerMockito: "com.linkedin.dexmaker:dexmaker-mockito:${dexmakerMockitoVersion}",
mockitoKotlin : "com.nhaarman:mockito-kotlin:${mockitoKotlinVersion}"
]
}