forked from Naveentp/MVVM-To-Do-App
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdependencies.gradle
53 lines (45 loc) · 1.83 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
ext {
// Plugins
androidGradlePlugin = '3.3.1'
// Versions
kotlinVersion = '1.3.0'
coroutineVersion = '1.0.1'
supportVersion = '1.0.0'
materialVersion = '1.0.0-alpha1'
lifecycleVersion = "2.0.0"
roomVersion = "2.1.0-alpha03"
// Testing
jUnitVersion = '4.12'
espressoVersion = '3.1.0'
testRunnerVersion = '1.1.0'
// Kotlin
kotlinLibraries = [
kotlin : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${kotlinVersion}",
coroutines: "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutineVersion"
]
// Support Libraries
supportLibraries = [
appCompat : "androidx.appcompat:appcompat:${supportVersion}",
cardView : "androidx.cardview:cardview:${supportVersion}",
recyclerView: "androidx.recyclerview:recyclerview:${supportVersion}",
material : "com.google.android.material:material:${materialVersion}",
]
// Arch Components
archLibraries = [
lifecycle : "androidx.lifecycle:lifecycle-extensions:${lifecycleVersion}",
lifecycleCompiler: "androidx.lifecycle:lifecycle-compiler:${lifecycleVersion}",
room : "androidx.room:room-runtime:${roomVersion}",
roomCompiler : "androidx.room:room-compiler:${roomVersion}",
roomCoroutines : "androidx.room:room-coroutines:${roomVersion}"
]
// Testing
testLibraries = [
junit : "junit:junit:${jUnitVersion}",
testRunner: "androidx.test:runner:${testRunnerVersion}",
espresso : "androidx.test.espresso:espresso-core:${espressoVersion}",
]
gradlePlugins = [
kotlin : "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}",
android: "com.android.tools.build:gradle:${androidGradlePlugin}",
]
}