-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdependencies.gradle
64 lines (52 loc) · 3.36 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
ext {
//----------------------------------------------------------------------------------------------
// Gradle Dependencies
//----------------------------------------------------------------------------------------------
// Android Plugin for Gradle : https://developer.android.com/studio/releases/gradle-plugin.html#updating-plugin
androidGradle = '7.2.1'
// Kotlin version : https://kotlinlang.org/docs/reference/using-gradle.html#plugin-and-versions
kotlin = '1.7.0'
gradleDependencies = [
androidGradle: "com.android.tools.build:gradle:$androidGradle",
kotlinGradle : "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin",
]
//----------------------------------------------------------------------------------------------
// App Dependencies
//----------------------------------------------------------------------------------------------
// AndroidX Core : https://mvnrepository.com/artifact/androidx.core/core | https://developer.android.com/jetpack/androidx/releases/core
androidxCore = '1.8.0'
// Android Annotations : https://mvnrepository.com/artifact/androidx.annotation/annotation?repo=google | https://developer.android.com/jetpack/androidx/releases/annotation
androidxAnnotation = '1.4.0'
// Constraint Layout : https://mvnrepository.com/artifact/androidx.constraintlayout/constraintlayout | https://developer.android.com/jetpack/androidx/releases/constraintlayout
androidxConstraintLayout = '2.1.4'
// AppCompat : https://mvnrepository.com/artifact/androidx.appcompat/appcompat | https://developer.android.com/jetpack/androidx/releases/appcompat
androidxAppCompat = '1.4.2'
// https://github.com/material-components/material-components-android/releases | https://mvnrepository.com/artifact/com.google.android.material/material
materialComponents = '1.6.1'
appDependencies = [
androidxCore : "androidx.core:core-ktx:$androidxCore",
androidxAnnotation : "androidx.annotation:annotation:$androidxAnnotation",
androidxConstraintLayout: "androidx.constraintlayout:constraintlayout:$androidxConstraintLayout",
androidxAppCompat : "androidx.appcompat:appcompat:$androidxAppCompat",
materialComponents : "com.google.android.material:material:$materialComponents",
]
//----------------------------------------------------------------------------------------------
// Debug Dependencies
//----------------------------------------------------------------------------------------------
// Timber (logger) : https://github.com/JakeWharton/timber
timber = '5.0.1'
debugDependencies = [
timber: "com.jakewharton.timber:timber:$timber",
]
//----------------------------------------------------------------------------------------------
// Test Dependencies
//----------------------------------------------------------------------------------------------
// JUnit (unit testing framework) : https://mvnrepository.com/artifact/junit/junit | http://junit.org/junit4/
junit = '4.13.2'
// Mockito (mocking framework) : https://mvnrepository.com/artifact/org.mockito/mockito-core | http://site.mockito.org/
mockito = '4.6.1'
testDependencies = [
junit : "junit:junit:$junit",
mockito: "org.mockito:mockito-core:$mockito",
]
}