forked from google/talkback
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
61 lines (53 loc) · 1.29 KB
/
build.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
// For building the open-source release of TalkBack.
apply plugin: 'com.android.application'
apply from: 'shared.gradle'
apply from: 'version.gradle'
final BUILD_TIMESTAMP = new Date().format('yyyy_MM_dd_HHmm')
dependencies {
implementation project(':talkback')
}
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'org.aspectj:aspectjtools:1.8.1'
classpath 'com.android.tools.build:gradle:3.5.4'
}
}
allprojects {
repositories {
jcenter()
google()
}
}
android {
buildToolsVersion '29.0.0'
defaultConfig {
applicationId talkbackApplicationId
versionName talkbackVersionName + "-" + BUILD_TIMESTAMP
manifestPlaceholders = [talkbackMainPermission:talkbackMainPermission]
minSdkVersion 26
targetSdkVersion 30
testInstrumentationRunner 'android.test.InstrumentationTestRunner'
multiDexEnabled true
}
packagingOptions {
exclude 'LICENSE'
exclude 'README'
}
lintOptions {
checkReleaseBuilds false
abortOnError false
}
productFlavors {
phone {
dimension "target"
}
wear {
dimension "target"
versionNameSuffix "-wear"
}
}
}