forked from microsoft/surface-duo-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdependencies.gradle
95 lines (82 loc) · 3.71 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
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
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*
*/
ext {
gradlePluginVersion = "4.1.1"
kotlinVersion = "1.4.10"
compileSdkVersion = 29
buildToolsVersion = '29.0.3'
targetSdkVersion = compileSdkVersion
minSdkVersion = 21
config = [
gradlePlugin : "com.android.tools.build:gradle:$gradlePluginVersion",
kotlinGradlePlugin : "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion",
testInstrumentationRunner: "androidx.test.runner.AndroidJUnitRunner"
]
kotlinDependencies = [
kotlinStdlib: "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
]
//AndroidX versions
appCompatVersion = "1.2.0"
constraintLayoutVersion = "1.1.3"
ktxCoreVersion = "1.3.1"
windowVersion = "1.0.0-alpha01"
lifecycleVersion = "2.2.0"
recycleViewVersion = "1.1.0"
androidxDependencies = [
appCompat : "androidx.appcompat:appcompat:$appCompatVersion",
constraintLayout : "androidx.constraintlayout:constraintlayout:$constraintLayoutVersion",
ktxCore : "androidx.core:core-ktx:$ktxCoreVersion",
window : "androidx.window:window:$windowVersion",
lifecycleViewmodel: "androidx.lifecycle:lifecycle-viewmodel:$lifecycleVersion",
recycleView : "androidx.recyclerview:recyclerview:$recycleViewVersion"
]
//Material Design
materialVersion = "1.1.0"
materialDependencies = [
material: "com.google.android.material:material:$materialVersion"
]
googleTruthVersion = "1.0.1"
mockitoVersion = "3.3.3"
mockitoDexMakerVersion = "2.28.0"
screenManagerVersion = "wm"
commonDependencies = [
googleTruth : "com.google.truth:truth:$googleTruthVersion",
mockitoCore : "org.mockito:mockito-core:$mockitoVersion",
mockitoDexMaker: "com.linkedin.dexmaker:dexmaker-mockito:$mockitoDexMakerVersion",
screenManager : ":screenmanager:$screenManagerVersion:library"
]
// Navigation version
navigationVersion = "2.3.0-alpha01"
navigationDependencies = [
runtime : "androidx.navigation:navigation-runtime:$navigationVersion",
runtimeKtx : "androidx.navigation:navigation-runtime-ktx:$navigationVersion",
fragment : "androidx.navigation:navigation-fragment:$navigationVersion",
fragmentKtx : "androidx.navigation:navigation-fragment-ktx:$navigationVersion",
testing : "androidx.navigation:navigation-testing:$navigationVersion",
ui : "androidx.navigation:navigation-ui:$navigationVersion",
uiKtx : "androidx.navigation:navigation-ui-ktx:$navigationVersion",
safeArgsPlugin: "androidx.navigation:navigation-safe-args-gradle-plugin:$navigationVersion"
]
//Test dependencies version
junitVersion = "4.13"
testDependencies = [
junit: "junit:junit:$junitVersion"
]
//Android test dependencies version
junitInstrumentationVersion = "1.1.1"
espressoCoreVersion = "3.2.0"
testRunnerVersion = "1.2.0"
testRulesVersion = "1.2.0"
uiAutomatorVersion = "2.2.0"
supportTestRulesVersion = "1.0.2"
instrumentationTestDependencies = [
junit : "androidx.test.ext:junit:$junitInstrumentationVersion",
espressoCore: "androidx.test.espresso:espresso-core:$espressoCoreVersion",
testRunner : "androidx.test:runner:$testRunnerVersion",
testRules : "androidx.test:rules:$testRulesVersion",
uiAutomator : "androidx.test.uiautomator:uiautomator:$uiAutomatorVersion",
]
}