-
Notifications
You must be signed in to change notification settings - Fork 238
Expand file tree
/
Copy pathshared.gradle
More file actions
99 lines (86 loc) · 3.48 KB
/
shared.gradle
File metadata and controls
99 lines (86 loc) · 3.48 KB
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
// For building the open-source release of TalkBack.
android.buildFeatures.buildConfig true
ext {
talkbackApplicationId = "com.android.talkback"
}
android {
compileSdkVersion 36
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
defaultConfig {
vectorDrawables.useSupportLibrary = true
multiDexEnabled true
minSdkVersion 26
ndk {
abiFilters "armeabi-v7a", "arm64-v8a"
}
// We generate a build config field holding the application ID so that
// Java code can reference it.
buildConfigField "String", "APPLICATION_ID", "\"" + talkbackApplicationId + "\""
// We generate a string resource holding the application ID so that XML
// resources can reference it.
resValue "string", "app_id", talkbackApplicationId
}
flavorDimensions "target"
productFlavors {
phone {
dimension "target"
}
wear {
dimension "target"
}
}
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.11"
}
}
dependencies {
// Google common
implementation 'com.google.android.gms:play-services-mlkit-text-recognition:19.0.1'
implementation 'com.google.android.material:material:1.11.0'
implementation 'com.google.android.play:core:1.10.3'
// Support library
implementation 'androidx.annotation:annotation:1.2.0'
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'androidx.collection:collection:1.1.0'
implementation 'androidx.core:core:1.17.0'
implementation 'androidx.core:core-i18n:1.0.0'
implementation 'androidx.fragment:fragment:1.8.6'
implementation "androidx.lifecycle:lifecycle-service:2.8.7"
implementation "androidx.savedstate:savedstate:1.2.1"
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
implementation 'androidx.preference:preference:1.2.1'
implementation 'androidx.recyclerview:recyclerview:1.4.0'
implementation 'androidx.viewpager2:viewpager2:1.0.0'
// Auto-value
implementation 'com.google.auto.value:auto-value-annotations:1.11.0'
annotationProcessor 'com.google.auto.value:auto-value:1.11.0'
implementation 'javax.annotation:javax.annotation-api:1.3.2'
// Wear
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'
// Cloud services
implementation 'com.mcxiaoke.volley:library:1.0.+'
// Compose libraries for all form factors
implementation "androidx.activity:activity:1.10.0"
implementation "androidx.activity:activity-compose:1.10.0"
implementation "androidx.compose.runtime:runtime:1.7.8"
implementation "androidx.compose.runtime:runtime-livedata:1.7.8"
implementation "androidx.compose.ui:ui:1.9.0-beta03"
implementation "androidx.wear.compose:compose-foundation:1.4.1"
implementation "androidx.wear.compose:compose-material3:1.0.0-alpha33"
implementation "androidx.compose.material:material-icons-core:1.7.6"
// Gemineye
implementation "com.google.code.gson:gson:2.12.1"
implementation 'com.google.protobuf:protobuf-javalite:4.29.3'
implementation 'com.google.android.flexbox:flexbox:3.0.0'
// Apache
implementation "org.apache.commons:commons-text:1.4"
}