forked from google/talkback
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathshared.gradle
68 lines (60 loc) · 1.91 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
// For building the open-source release of TalkBack.
ext {
talkbackApplicationId = "com.android.talkback"
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
android {
compileSdk 35
buildToolsVersion '35.0.0'
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
buildFeatures {
buildConfig true
}
defaultConfig {
vectorDrawables.useSupportLibrary = true
minSdk 26
ndk {
abiFilters.clear()
abiFilters.addAll(['arm64-v8a', 'x86_64'])
}
}
flavorDimensions "target"
productFlavors {
phone {
dimension "target"
}
}
lint {
abortOnError false
}
}
dependencies {
// Google common
implementation 'com.google.guava:guava:33.3.1-jre'
implementation 'com.google.android.gms:play-services-mlkit-text-recognition:19.0.1'
implementation 'com.google.android.material:material:1.12.0'
// Support library
implementation 'androidx.annotation:annotation:1.8.2'
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'androidx.browser:browser:1.8.0'
implementation 'androidx.collection:collection:1.4.4'
implementation 'androidx.core:core:1.13.1'
implementation 'androidx.fragment:fragment:1.8.4'
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.1.0'
implementation 'androidx.preference:preference:1.2.1'
implementation 'androidx.recyclerview:recyclerview:1.3.2'
implementation 'androidx.viewpager2:viewpager2:1.1.0'
// Nullable
implementation 'org.checkerframework:checker-qual:3.48.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'
}