-
Notifications
You must be signed in to change notification settings - Fork 92
/
build.gradle
97 lines (72 loc) · 2.02 KB
/
build.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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
apply from: 'versions.gradle'
ext.kotlin_version = '1.6.21'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.7.7"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
// Define versions in a single place
ext {
// Sdk and tools
// Support library and architecture components support minSdk 14 and above.
minSdkVersion = 21
targetSdkVersion = 34
compileSdkVersion = 34
// App dependencies
kotlinVersion = '1.4.10'
androidXVersion = '1.0.0'
androidXAnnotations = '1.0.1'
androidXLegacySupport = '1.0.0'
appCompatVersion = '1.1.0'
materialVersion = '1.1.0'
fragmentVersion = '1.1.0-alpha07'
fragmentKtxVersion = '1.1.0-rc01'
// ConstraintLayout
constraintLayoutVersion = '1.1.3'
// RecyclerView
recyclerViewVersion = '1.2.0-alpha04'
// CardView
cardVersion = '1.0.0'
// ViewPager2
viewPager2Version = '1.1.0-alpha01'
// Architecture MVVM & LiveData
archLifecycleVersion = '2.1.0-rc01'
// Room
roomVersion = '2.2.3'
// Navigation Component
navigationVersion = '2.3.1'
// Coroutines
coroutinesVersion = '1.3.7'
// Retrofit
retrofitVersion = '2.8.1'
//Gson
gsonVersion = '2.8.4'
// Glide
glideVersion = '4.9.0'
// Dagger
daggerVersion = '2.25.2'
// RxAndroid
rxjavaVersion = '2.1.3'
rxandroidVersion = '2.1.1'
// Google
locationVersion = '17.0.0'
mapsVersion = '17.0.0'
}