-
Notifications
You must be signed in to change notification settings - Fork 0
/
common_dependencies.gradle
110 lines (91 loc) · 4 KB
/
common_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
/*
* Copyright 2018 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express oor implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
android {
buildTypes {
release {
buildConfigField "String", "API_ENDPOINT", '"https://api.nytimes.com/svc/"'
resValue "string", "application_name", "News App"
}
debug {
buildConfigField "String", "API_ENDPOINT", '"https://api.nytimes.com/svc/"'
resValue "string", "application_name", "News App Dev"
}
}
dataBinding {
enabled true
}
}
dependencies {
//testing dependencies
testImplementation 'junit:junit:4.13.1'
testImplementation 'org.mockito:mockito-core:2.25.0'
testImplementation 'org.mockito:mockito-inline:2.25.0'
testImplementation "com.google.truth:truth:1.1"
testImplementation "org.koin:koin-test:2.2.2"
testImplementation "android.arch.core:core-testing:1.1.1"
testImplementation 'androidx.arch.core:core-testing:2.1.0'
testImplementation "com.nhaarman:mockito-kotlin:1.4.0"
testImplementation "org.amshove.kluent:kluent:1.14"
testImplementation "com.google.truth:truth:1.1"
testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.4.2'
debugImplementation('androidx.fragment:fragment-testing:1.2.5') {
exclude group: 'androidx.test', module: 'monitor'
}
androidTestImplementation "com.google.truth:truth:1.1"
androidTestImplementation "androidx.navigation:navigation-testing:2.3.2"
androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.3.0'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
androidTestImplementation 'androidx.test:runner:1.3.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
androidTestImplementation "org.koin:koin-test:2.2.2"
//kotlin
implementation "org.jetbrains.kotlin:kotlin-stdlib:1.4.20"
//cooroutine
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7'
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.4"
//gson
implementation "com.google.code.gson:gson:2.8.6"
//retrofit
implementation "com.squareup.retrofit2:retrofit:2.7.1"
implementation "com.squareup.retrofit2:converter-gson:2.6.2"
implementation "com.squareup.retrofit2:converter-scalars:2.5.0"
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.0'
implementation 'com.squareup.okhttp3:okhttp:4.9.0'
implementation "com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2"
//android specific
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation "androidx.core:core-ktx:1.3.2"
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
//koin
implementation "org.koin:koin-android:2.2.2"
implementation "org.koin:koin-androidx-scope:2.2.2"
implementation "org.koin:koin-androidx-viewmodel:2.2.2"
//material UI
implementation 'com.google.android.material:material:1.2.1'
//lifecycle
implementation "android.arch.lifecycle:extensions:1.1.1"
implementation "android.arch.lifecycle:viewmodel:1.1.1"
//cardview
implementation 'androidx.cardview:cardview:1.0.0'
// jetpack - nav
implementation "androidx.navigation:navigation-fragment-ktx:2.3.2"
implementation "androidx.navigation:navigation-ui-ktx:2.3.2"
//glide
implementation 'com.github.bumptech.glide:glide:4.11.0'
//circle image view
implementation 'de.hdodenhof:circleimageview:3.1.0'
}