-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
157 lines (132 loc) · 4.41 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
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
tasks.register("updateGradleWrapper", Wrapper) {
// https://docs.gradle.org/current/release-notes.html
// https://github.com/gradle/gradle/releases
gradleVersion = '7.0'
distributionUrl = "https://services.gradle.org/distributions/gradle-${gradleVersion}-all.zip"
}
//==================================================================================================
apply plugin: 'com.android.application'
android {
signingConfigs {
debug {
storeFile file('/home/esmaeeil/Downloads/keyring.jks')
keyAlias 'platform'
}
}
compileSdkVersion 31
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
applicationId "com.android.messaging"
minSdkVersion 28
targetSdkVersion 30
versionCode 10005000
renderscriptTargetApi 19
renderscriptSupportModeEnabled true
}
buildTypes {
debug {
// applicationIdSuffix ".dev"
//
// debuggable true
// minifyEnabled false
// shrinkResources false
// zipAlignEnabled false
}
debugProguard {
// applicationIdSuffix ".dev"
//
// debuggable true
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard.cfg'
// minifyEnabled true
// shrinkResources true
// zipAlignEnabled true
}
release {
// debuggable false
// proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard.cfg'
// minifyEnabled true
// shrinkResources true
// zipAlignEnabled true
}
}
dexOptions {
dexInProcess true
preDexLibraries true
}
lintOptions {
baseline file("lint-baseline.xml")
abortOnError true
checkAllWarnings true
showAll true
warningsAsErrors true
// HTML report is enough (can be found inside build/reports/)
xmlReport false
// do not warn about translations
disable 'MissingTranslation', 'ExtraTranslation'
}
packagingOptions {
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/LICENSE-FIREBASE.txt'
exclude 'META-INF/NOTICE.txt'
exclude '.readme'
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
aidl.srcDirs = ['src']
assets.srcDirs = ['assets']
java.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
resources.srcDirs = ['res']
}
}
}
configurations {
all*.exclude group: 'com.google.guava', module: 'listenablefuture'
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.4.0'
implementation 'androidx.collection:collection:1.2.0'
implementation 'androidx.core:core:1.7.0'
implementation 'androidx.fragment:fragment:1.4.0'
implementation 'androidx.media:media:1.4.3'
implementation 'androidx.legacy:legacy-support-core-utils:1.0.0'
implementation 'androidx.legacy:legacy-support-core-ui:1.0.0'
implementation 'androidx.palette:palette:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.2.0'
implementation 'androidx.viewpager:viewpager:1.0.0'
implementation 'androidx.legacy:legacy-support-v13:1.0.0'
implementation 'androidx.annotation:annotation:1.3.0'
api 'com.google.guava:guava:28.2-android'
api 'com.googlecode.libphonenumber:libphonenumber:8.12.4'
api 'com.googlecode.libphonenumber:geocoder:2.140'
api 'com.googlecode.libphonenumber:prefixmapper:2.140'
api 'com.googlecode.libphonenumber:carrier:1.130'
implementation project(path: ':external:photoviewer')
implementation project(path: ':external:colorpicker')
implementation project(path: ':external:common')
implementation project(path: ':external:chips')
implementation project(path: ':external:framesequence')
implementation project(path: ':external:vcard')
}