-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathbuildTypes.gradle
More file actions
40 lines (36 loc) · 1.52 KB
/
buildTypes.gradle
File metadata and controls
40 lines (36 loc) · 1.52 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
//Данный файл описывает типы сборок
apply from: '../keystore/signingConfigs.gradle'
apply from: '../config.gradle'
android {
buildTypes {
//todo настроить типы сборки
debug {
signingConfig signingConfigs.test
minifyEnabled false
debuggable = true
applicationIdSuffix meta.debugVersionNameSuffix
resValue "string", "app_name", "Template Debug" //todo fix debug app name
}
qa {
signingConfig signingConfigs.test
minifyEnabled true
debuggable = true
applicationIdSuffix meta.qaVersionNameSuffix
proguardFiles getDefaultProguardFile('proguard-android.txt'), '../proguard-rules.pro'
// сопоставлеие buildType.qa к buildType.release для корректного подключения локального android-standard
matchingFallbacks = ['release']
resValue "string", "app_name", "Template QA" //todo fix qa app name
/* todo uncoment for real app
firebaseAppDistribution {
groups="Surf"
}*/
}
release {
signingConfig signingConfigs.test //todo заменить на signingConfigs.release
multiDexEnabled false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), '../proguard-rules.pro'
matchingFallbacks = ['release', 'qa']
}
}
}