-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild-dependencies.gradle
136 lines (120 loc) · 7.12 KB
/
build-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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
ext {
//==============================================================================================
// Versions - Application
//==============================================================================================
MULTIDEX = '1.0.3'
KOTLIN_VERSION = '1.3.41'
KOTLIN_CORE_KTX = '1.0.2'
KOTLIN_COROUTINES_CORE = '1.3.0-RC2'
KOTLIN_COROUTINES_ANDROID = '1.2.1'
APP_COMPAT = '1.0.2'
CONSTRAINT_LAYOUT = '1.1.3'
MATERIAL_DESIGN = '1.0.0-rc01'
NAV_VERSION = "2.1.0"
FIREBASE_CORE = '16.0.4'
FIREBASE_AUTH = '18.1.0'
AC_LIFECYCLE = '2.2.0-alpha01'
KOIN = '2.0.1'
//==============================================================================================
// Versions - Tests
//==============================================================================================
JUNIT = '4.12'
TEST_RUNNER = '1.2.0'
EXPRESSO_CORE = '3.2.0'
ROBOLETRIC = '4.3'
MOCKITO_KOTLIN = '2.1.0'
ASSERTJ = '3.11.1'
KOTLIN_COROUTINES_TEST = '1.3.1'
ARQ_CORE_TEST = '2.0.0'
RETROFIT = '2.6.2'
OKHTTP = '4.2.0'
//==============================================================================================
//
//
//
//
//==============================================================================================
// SUBMODULES
//==============================================================================================
submodulesPlatform = [
domain : ':domain',
data : ':data',
]
submodulesLibraries = [
analytics : ':libraries:library-analytics',
networking : ':libraries:library-networking',
appTheme : ':libraries:library-app-theme',
logger : ':libraries:library-logger',
sharedFeatureArq : ':libraries:library-shared-feature-arq',
]
submodulesFeatures = [
login : ':features:feature-login',
onBoarding : ':features:feature-onboarding',
navigation : ':features:feature-navigation',
quotationList : ':features:feature-quotation-list',
quotationRandom : ':features:feature-quotation-random',
quotationFiltering : ':features:feature-quotation-filtering',
]
submodulesTest = [
sharedFeatureArq : ':libraries:library-shared-feature-arq-testing',
]
//==============================================================================================
//
//
//
//
//==============================================================================================
// Compiles - Application
//==============================================================================================
globalDependencies = [
multidex : "com.android.support:multidex:$MULTIDEX",
// KOTLIN
kotlinStdLib : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$KOTLIN_VERSION",
kotlinCoreKTX : "androidx.core:core-ktx:$KOTLIN_CORE_KTX",
kotlinCoroutinesCore : "org.jetbrains.kotlinx:kotlinx-coroutines-core:$KOTLIN_COROUTINES_CORE",
kotlinCoroutinesAndroid : "org.jetbrains.kotlinx:kotlinx-coroutines-android:$KOTLIN_COROUTINES_ANDROID",
kotlinCoroutinesPlayService : "org.jetbrains.kotlinx:kotlinx-coroutines-play-services:$KOTLIN_COROUTINES_ANDROID",
// VIEW
appCompact : "androidx.appcompat:appcompat:$APP_COMPAT",
constraintlayout : "androidx.constraintlayout:constraintlayout:$CONSTRAINT_LAYOUT",
materialDesign : "com.google.android.material:material:$MATERIAL_DESIGN",
// FIREBASE
firebaseCore : "com.google.firebase:firebase-core:$FIREBASE_CORE",
firebaseAuth : "com.google.firebase:firebase-auth:$FIREBASE_AUTH",
// ANDROID ARQ
lifeCycleLiveRuntime : "androidx.lifecycle:lifecycle-runtime-ktx:$AC_LIFECYCLE",
lifeCycleLiveExtentions : "androidx.lifecycle:lifecycle-extensions:$AC_LIFECYCLE",
lifeCycleViewModel : "androidx.lifecycle:lifecycle-viewmodel-ktx:$AC_LIFECYCLE",
lifeCycleLiveData : "androidx.lifecycle:lifecycle-livedata-ktx:$AC_LIFECYCLE",
navigationFragment : "androidx.navigation:navigation-fragment-ktx:$NAV_VERSION",
navigationFragmentUi : "androidx.navigation:navigation-ui-ktx:$NAV_VERSION",
// Koin
koin : "org.koin:koin-android:$KOIN",
koinViewModel : "org.koin:koin-androidx-viewmodel:$KOIN",
koinScope : "org.koin:koin-androidx-scope:$KOIN",
// NETWORKING
retrofit : "com.squareup.retrofit2:retrofit:$RETROFIT",
retrofitGsonConverter : "com.squareup.retrofit2:converter-gson:$RETROFIT",
okHttp : "com.squareup.okhttp3:okhttp:$OKHTTP",
okHttpLoggin : "com.squareup.okhttp3:logging-interceptor:$OKHTTP"
]
//==============================================================================================
//
//
//
//
//==============================================================================================
// Compiles - Tests
//==============================================================================================
globalTestDependencies = [
jUnit : "junit:junit:${JUNIT}",
mockitoKotlin : "com.nhaarman.mockitokotlin2:mockito-kotlin:${MOCKITO_KOTLIN}",
testRunner : "androidx.test:runner:${TEST_RUNNER}",
espresso : "androidx.test.espresso:espresso-core:${EXPRESSO_CORE}",
robolectric : "org.robolectric:robolectric:${ROBOLETRIC}" ,
assertJ : "org.assertj:assertj-core:${ASSERTJ}",
coroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-test:${KOTLIN_COROUTINES_TEST}",
testArqCor : "androidx.arch.core:core-testing:${ARQ_CORE_TEST}",
koinTest : "org.koin:koin-test:${KOIN}"
]
}