-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdependencies.gradle
82 lines (67 loc) · 2.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
77
78
79
80
81
82
def version = [
////////// Build Variables //////////
// Project
versionCode : 1,
versionName : '1.0',
kotlinJvmTarget : '11',
kotlin : '1.6.10',
androidTools : '7.0.0',
// Android
compileSdkVersion: 32,
minSdkVersion : 26,
targetSdkVersion : 32,
//////// Dependency Versions ////////
// Androidx
coreKtx : '1.6.0',
appCompat : '1.4.0',
constraintLayout : '2.1.2',
recyclerView : '1.2.1',
room : '2.4.0',
// Rx
rxAndroid : '3.0.0',
rxBinding : '3.1.0',
// Coroutines
coroutines : '1.6.0',
lifecycle : '2.2.0',
// Misc
gson : '2.8.9',
glide : '4.12.0',
// Test
junit : '4.13.2',
testExt : '1.1.3',
espresso : '3.4.0'
]
def project = [
androidTools: "com.android.tools.build:gradle:${version.androidTools}",
kotlin : "org.jetbrains.kotlin:kotlin-gradle-plugin:${version.kotlin}",
appId : "com.strasz.iris"
]
def dependency = [
// Androidx
coreKtx : "androidx.core:core-ktx:${version.coreKtx}",
appCompat : "androidx.appcompat:appcompat:${version.appCompat}",
constraintLayout: "androidx.constraintlayout:constraintlayout:${version.constraintLayout}",
recyclerView : "androidx.recyclerview:recyclerview:${version.recyclerView}",
room : "androidx.room:room-runtime:${version.room}",
//Rx
rxRoom : "androidx.room:room-rxjava2:${version.room}",
rxAndroid : "io.reactivex.rxjava3:rxandroid:${version.rxAndroid}",
rxBinding : "com.jakewharton.rxbinding3:rxbinding:${version.rxBinding}",
// Misc
coroutines : "org.jetbrains.kotlinx:kotlinx-coroutines-android:${version.coroutines}",
viewModelScope : "androidx.lifecycle:lifecycle-viewmodel-ktx:${version.lifecycle}",
lifeCycleScope : "androidx.lifecycle:lifecycle-runtime-ktx:${version.lifecycle}",
kotlinStdlib : "org.jetbrains.kotlin:kotlin-stdlib:${version.kotlin}",
gson : "com.google.code.gson:gson:${version.gson}",
// Test
junit : "junit:junit:${version.junit}",
testExt : "androidx.test.ext:junit:${version.testExt}",
espresso : "androidx.test.espresso:espresso-core:${version.espresso}",
// Annotation processor
roomAp : "androidx.room:room-compiler:${version.room}"
]
ext.ver = [
deps : dependency,
project: project,
version: version
]