-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathdependencies.gradle
118 lines (104 loc) · 5.18 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*
*/
ext {
gradlePluginVersion = "7.2.0"
kotlinVersion = "1.6.0"
compileSdkVersion = 31
buildToolsVersion = '30.0.3'
targetSdkVersion = compileSdkVersion
minSdkVersion = 25
versionCode = 3
versionName = "1.0.3"
config = [
gradlePlugin : "com.android.tools.build:gradle:$gradlePluginVersion",
kotlinGradlePlugin : "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion",
testInstrumentationRunner: "androidx.test.runner.AndroidJUnitRunner",
duoSdkUrl : "https://pkgs.dev.azure.com/E-OS/DevX/_packaging/SurfaceDuo-libraries/maven/v1"
]
kotlinDependencies = [
kotlinStdlib: "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
]
//AndroidX versions
appCompatVersion = "1.3.1"
constraintLayoutVersion = "2.0.4"
recyclerViewVersion = "1.2.0"
cardViewVersion = "1.0.0"
coreKtxVersion = "1.7.0"
fragmentKtxVersion = "1.3.1"
lifecycleExtensionsVersion = "2.4.1"
dragAndDropVersion = "1.0.0"
lifecycleRuntimeKtxVersion = "2.4.0-rc01"
androidxDependencies = [
appCompat : "androidx.appcompat:appcompat:$appCompatVersion",
constraintLayout : "androidx.constraintlayout:constraintlayout:$constraintLayoutVersion",
recyclerView : "androidx.recyclerview:recyclerview:$recyclerViewVersion",
cardView : "androidx.cardview:cardview:$cardViewVersion",
ktxCore : "androidx.core:core-ktx:$coreKtxVersion",
ktxFragment : "androidx.fragment:fragment-ktx:$fragmentKtxVersion",
lifecycleExtensions : "androidx.lifecycle:lifecycle-extensions:$lifecycleExtensionsVersion",
dragAndDrop : "androidx.draganddrop:draganddrop:$dragAndDropVersion",
lifecycleRuntimeKtx : "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycleRuntimeKtxVersion"
]
//Google dependencies
materialVersion = "1.3.0"
ossLicensesVersion = '17.0.0'
ossLicensesPluginVersion = '0.10.5'
googleDependencies = [
material: "com.google.android.material:material:$materialVersion",
ossLicenses : "com.google.android.gms:play-services-oss-licenses:$ossLicensesVersion"
]
//Microsoft dependencies version
fragmentsHandlerVersion = "1.0.0-beta5"
layoutsVersion = "1.0.0-beta9"
bottomNavigationVersion = "1.0.0-beta5"
recyclerViewVersion = "1.0.0-beta6"
tabsVersion = "1.0.0-beta5"
wmUtilsVersion = "1.0.0-beta5"
microsoftDependencies = [
fragmentsHandler: "com.microsoft.device.dualscreen:fragmentshandler:$fragmentsHandlerVersion",
layouts : "com.microsoft.device.dualscreen:layouts:$layoutsVersion",
bottomNavigation: "com.microsoft.device.dualscreen:bottomnavigation:$bottomNavigationVersion",
recyclerView : "com.microsoft.device.dualscreen:recyclerview:$recyclerViewVersion",
tabs : "com.microsoft.device.dualscreen:tabs:$tabsVersion",
wmUtils : "com.microsoft.device.dualscreen:wm-utils:$wmUtilsVersion"
]
navigationVersion = '1.0.0-alpha3'
navigationDependencies = [
fragmentKtx : "com.microsoft.device.dualscreen:navigation-fragment-ktx:$navigationVersion",
uiKtx : "com.microsoft.device.dualscreen:navigation-ui-ktx:$navigationVersion",
safeArgsPlugin: "androidx.navigation:navigation-safe-args-gradle-plugin:$navigationVersion"
]
//Test dependencies version
junitVersion = "4.13.2"
mockitoVersion = "3.5.9"
testDependencies = [
junit : "junit:junit:$junitVersion",
mockito: "org.mockito:mockito-core:$mockitoVersion",
]
//Android test dependencies version
junitInstrumentationVersion = "1.1.1"
ktxTestCoreVersion = "1.2.0"
espressoCoreVersion = "3.2.0"
espressoIntentsVersion = "3.2.0"
testRulesVersion = "1.2.0"
testRunnerVersion = "1.3.0"
uiAutomatorVersion = "2.2.0"
testOrchestratorVersion = "1.3.0"
kotlinTestingVersion = '1.0.0-alpha2'
instrumentationTestDependencies = [
junit : "androidx.test.ext:junit:$junitInstrumentationVersion",
junitKtx : "androidx.test.ext:junit-ktx:$junitInstrumentationVersion",
ktxTestCore : "androidx.test:core-ktx:$ktxTestCoreVersion",
espressoCore : "androidx.test.espresso:espresso-core:$espressoCoreVersion",
espressoContrib : "androidx.test.espresso:espresso-contrib:$espressoCoreVersion",
espressoIntents : "androidx.test.espresso:espresso-intents:$espressoIntentsVersion",
testRunner : "androidx.test:runner:$testRunnerVersion",
testRules : "androidx.test:rules:$testRulesVersion",
uiAutomator : "androidx.test.uiautomator:uiautomator:$uiAutomatorVersion",
testOrchestrator: "androidx.test:orchestrator:$testOrchestratorVersion",
kotlinTesting : "com.microsoft.device.dualscreen.testing:testing-kotlin:$kotlinTestingVersion"
]
}