forked from ahmedeltaher/MVVM-Kotlin-Android-Architecture
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
82 lines (78 loc) · 2.51 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.4.10'
repositories {
google()
jcenter()
mavenCentral()
maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local/' }
maven { url "https://maven.google.com" }
}
dependencies {
classpath "com.android.tools.build:gradle:4.0.1"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_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.3'
classpath 'com.android.support.test.espresso:espresso-idling-resource:3.0.2'
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
maven { url "https://maven.google.com" }
}
}
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 = 29
compileSdkVersion = 29
junitVersion = '5.6.2'
junitRunnerVersion = '1.6.2'
androidXJunitVersion = '1.1.2'
assertjVersion = '3.16.1'
coreTestingVersion = '2.1.0'
espressoIntentsVersion = '3.3.0'
espressoCoreVersion = '3.3.0'
testRulesVersion = '1.3.0'
runnerVersion = '1.3.0'
espressoVersion = '3.3.0'
coreTestingVersion = '2.1.0'
coroutinesTestVersion = '1.3.2'
recyclerviewVersion = '1.1.0'
appcompatVersion='1.2.0'
materialVersion='1.3.0-alpha02'
coreKtxVersion='1.3.0'
coordinatorLayoutVersion='1.1.0'
constraintLayoutVersion='2.0.1'
cardViewVersion='1.0.0'
activityVersion='1.2.0-alpha08'
activityKtxVersion='1.2.0-alpha05'
daggerVersion = '2.28.3'
retrofitVersion = '2.9.0'
moshiVersion = '1.9.3'
okhttpVersion = '4.8.1'
okhttpInterceptorVersion ='4.8.1'
multiDexVersion = '2.0.1'
picassoVersion = '2.71828'
mockVersion = '1.10.0'
coroutinesCoreVersion ='1.3.4'
coroutinesCoreCommonVersion = '1.3.7'
lifecycleExtensionsVersion ='2.2.0'
lifecycleKTXVersion = '2.3.0-alpha04'
coroutinesCoreVersion ='1.3.4'
coroutinesCommonVersion = '1.3.7'
lifecycleExtensionsVersion ='2.2.0'
lifecycleKTXVersion = '2.3.0-alpha04'
kotlinVersion ='1.4.0'
annotationVersion ='1.1.0'
}