-
Notifications
You must be signed in to change notification settings - Fork 0
/
deps.gradle
executable file
·128 lines (107 loc) · 4.4 KB
/
deps.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
ext.deps = [:]
def versions = [:]
versions.gradle_plugin = '4.1.1'
versions.kotlin = "1.4.21"
versions.arch_core = "1.1.1"
versions.room = "2.3.0"
versions.lifecycle = "1.1.1"
versions.navigation = "2.3.1"
versions.constraintlayout = "1.1.3"
versions.multidex = "1.0.3"
versions.dagger = "2.19"
versions.test_runner = "1.0.2"
versions.junit = "4.12"
versions.espresso = "3.0.2"
versions.mockito = "2.21.0"
versions.rxjava2 = "2.2.2"
versions.rxandroid = "2.1.0"
versions.retrofit = "2.3.0"
versions.okhttp = "3.11.0"
versions.stetho = "1.5.0"
versions.glide = "4.8.0"
versions.recyclerViewAnimators = "4.0.1"
versions.picasso = "2.71828"
versions.viewPager2 = "1.0.0"
def deps = [:]
def android = [:]
android.multidex = 'androidx.multidex:multidex:2.0.0'
android.gradle_plugin = "com.android.tools.build:gradle:$versions.gradle_plugin"
deps.android = android
def support = [:]
support.appcompat = 'androidx.appcompat:appcompat:1.0.0'
support.recyclerview = 'androidx.recyclerview:recyclerview:1.0.0'
support.constraintlayout = 'androidx.constraintlayout:constraintlayout:1.1.3'
support.fragment = 'androidx.fragment:fragment:1.2.5'
deps.support = support
def room = [:]
room.runtime = 'androidx.room:room-runtime:2.3.0'
room.compiler = 'androidx.room:room-compiler:2.3.0'
room.rxjava2 = 'androidx.room:room-rxjava2:2.3.0'
deps.room = room
def lifecycle = [:]
lifecycle.extensions = 'androidx.lifecycle:lifecycle-extensions:2.0.0'
lifecycle.compiler = 'androidx.lifecycle:lifecycle-compiler:2.0.0'
deps.lifecycle = lifecycle
def navigation = [:]
navigation.fragment = "androidx.navigation:navigation-fragment-ktx:$versions.navigation"
navigation.uiKtx = "androidx.navigation:navigation-ui-ktx:$versions.navigation"
deps.navigation = navigation
def arch_core = [:]
arch_core.testing = 'androidx.arch.core:core-testing:2.0.0'
deps.arch_core = arch_core
def retrofit = [:]
retrofit.runtime = "com.squareup.retrofit2:retrofit:$versions.retrofit"
retrofit.gson = "com.squareup.retrofit2:converter-gson:$versions.retrofit"
retrofit.rxjava2 = "com.squareup.retrofit2:adapter-rxjava2:$versions.retrofit"
deps.retrofit = retrofit
def okhttp = [:]
okhttp.runtime = "com.squareup.okhttp3:okhttp:$versions.okhttp"
okhttp.logging = "com.squareup.okhttp3:logging-interceptor:$versions.okhttp"
deps.okhttp = okhttp
// TODO | MIGRATE DAGGER TO HILT
def dagger = [:]
dagger.runtime = "com.google.dagger:dagger:$versions.dagger"
dagger.android = "com.google.dagger:dagger-android:$versions.dagger"
dagger.android_support = "com.google.dagger:dagger-android-support:$versions.dagger"
dagger.compiler = "com.google.dagger:dagger-compiler:$versions.dagger"
dagger.android_processor = "com.google.dagger:dagger-android-processor:$versions.dagger"
deps.dagger = dagger
def kotlin = [:]
kotlin.stdlib = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$versions.kotlin"
kotlin.plugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
deps.kotlin = kotlin
def glide = [:]
glide.runtime = "com.github.bumptech.glide:glide:$versions.glide"
glide.compiler = "com.github.bumptech.glide:compiler:$versions.glide"
deps.glide = glide
def testing = [:]
testing.test_runner = "com.android.support.test:runner:$versions.test_runner"
testing.junit = "junit:junit:$versions.junit"
testing.mock_core = "org.mockito:mockito-core:$versions.mockito"
testing.espresso_core = "com.android.support.test.espresso:espresso-core:$versions.espresso"
deps.testing = testing
def reactivex = [:]
reactivex.rxjava2 = "io.reactivex.rxjava2:rxjava:$versions.rxjava2"
reactivex.rxandroid = "io.reactivex.rxjava2:rxandroid:$versions.rxandroid"
deps.reactivex = reactivex
def stetho = [:]
stetho.runtime = "com.facebook.stetho:stetho:$versions.stetho"
stetho.okhttp = "com.facebook.stetho:stetho-okhttp3:$versions.stetho"
deps.stetho = stetho
def recyclerViewAnimators = [:]
recyclerViewAnimators.recyclerViewAnimators = "jp.wasabeef:recyclerview-animators:$versions.recyclerViewAnimators"
deps.recyclerViewAnimators = recyclerViewAnimators
def picasso = [:]
picasso.picasso = "com.squareup.picasso:picasso:$versions.picasso"
deps.picasso = picasso
def viewpager2 = [:]
viewpager2.viewpager2 = "androidx.viewpager2:viewpager2:$versions.viewPager2"
deps.viewpager2 = viewpager2
ext.deps = deps
def build_versions = [:]
build_versions.applicationId = "com.rahulografy.zflickrphotos"
build_versions.min_sdk = 21
build_versions.target_sdk = 28
build_versions.versionCode = 1
build_versions.versionName = "1.0"
ext.build_versions = build_versions