forked from ahmedeltaher/MVVM-Kotlin-Android-Architecture
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
56 lines (54 loc) · 1.64 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.4.21'
ext.hilt_version ='2.31.2-alpha'
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:4.1.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.google.dagger:hilt-android-gradle-plugin:$hilt_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.gms:google-services:4.3.4'
}
}
allprojects {
repositories {
google()
jcenter()
}
}
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 = 30
compileSdkVersion = 30
buildToolsVersion = "30.0.2"
junitVersion = '5.7.0'
androidXJunitVersion = '1.1.3-alpha03'
assertjVersion = '3.19.0'
coreTestingVersion = '2.1.0'
espressoIntentsVersion = '3.3.0'
espressoVersion = '3.3.0'
coroutinesTestVersion = '1.4.2-native-mt'
appcompatVersion='1.2.0'
materialVersion= '1.3.0-rc01'
activityKtxVersion= '1.2.0-rc01'
retrofitVersion = '2.9.0'
moshiVersion = '1.11.0'
okhttpInterceptorVersion = '4.9.0'
mockVersion = '1.10.5'
annotationVersion ='1.1.0'
glid = '4.11.0'
hilt_viewmodels = '1.0.0-alpha03'
picassoVersion = '2.71828'
livedata_ktx='2.3.0'
}