forked from google/talkback
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shared.gradle
91 lines (79 loc) · 3.03 KB
/
shared.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
// For building the open-source release of TalkBack.
ext {
talkbackApplicationId = "com.android.talkback"
}
android {
compileSdkVersion 34
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
buildConfigField "String", "APPLICATION_ID", "\"" + talkbackApplicationId + "\""
vectorDrawables.useSupportLibrary = true
multiDexEnabled true
minSdkVersion 26
ndk {
abiFilters "armeabi-v7a", "arm64-v8a"
}
}
flavorDimensions "target"
productFlavors {
phone {
dimension "target"
}
wear {
dimension "target"
}
}
}
configurations.all {
resolutionStrategy {
eachDependency {
// https://paste.googleplex.com/6584345232932864?raw
//
// 'androidx.wear:wear:1.2.0-rc01'
// 'androidx.wear:wear-remote-interactions:1.0.0'
//
// If the above actual dependencies are updated and these libraries
// update the version of org.jetbrains.kotlin:kotlin-stdlib, we
// should update useVersion("1.8.0") to the updated version. Or, we
// can remove these lines once these libraries don't conflict with
// each other anymore.
if ((requested.group == "org.jetbrains.kotlin") && (requested.name.startsWith("kotlin-stdlib"))) {
useVersion("1.8.0")
}
}
}
}
dependencies {
// Google common
implementation 'com.google.guava:guava:31.0-jre'
implementation 'com.google.android.gms:play-services-mlkit-text-recognition:17.0.1'
implementation 'com.google.android.material:material:1.5.0'
implementation 'com.google.android.play:core:1.10.3'
// Support library
implementation 'androidx.annotation:annotation:1.2.0'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.collection:collection:1.1.0'
implementation 'androidx.core:core:1.13.0-alpha05'
implementation 'androidx.fragment:fragment:1.4.0-alpha08'
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
implementation 'androidx.preference:preference:1.1.1'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation 'androidx.viewpager2:viewpager2:1.0.0'
// Nullable
implementation 'org.checkerframework:checker-qual:2.8.1'
// Auto-value
implementation 'com.google.auto.value:auto-value-annotations:1.8.2'
annotationProcessor 'com.google.auto.value:auto-value:1.8.2'
implementation 'javax.annotation:javax.annotation-api:1.3.2'
implementation 'androidx.wear:wear:1.2.0-rc01'
implementation 'androidx.wear:wear-remote-interactions:1.0.0'
implementation 'com.google.android.support:wearable:2.8.1'
implementation 'com.google.zxing:core:3.5.1'
// UI understanding
implementation 'joda-time:joda-time:2.9.9'
// Cloud services
implementation 'com.mcxiaoke.volley:library:1.0.+'
}