-
Notifications
You must be signed in to change notification settings - Fork 66
/
build.gradle
108 lines (93 loc) · 3.66 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
/*
* Copyright 2019 Uriah Shaul Mandel
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
defaultConfig {
applicationId "com.bald.uriah.baldphone"
minSdkVersion 21
targetSdkVersion 29
versionCode 103
versionName "14.0.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
manifestPlaceholders = [fullApp: "true", notFullApp: "false", recentCalls: "true", notRecentCalls: "false"]
}
buildTypes {
release {
minifyEnabled true
debuggable false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
debuggable true
minifyEnabled false
}
}
flavorDimensions "updating_mechanism"
productFlavors {
baldUpdates {
dimension "updating_mechanism"
}
fDroid {
dimension "updating_mechanism"
}
gPlay {
dimension "updating_mechanism"
applicationIdSuffix ".gp"
manifestPlaceholders = [fullApp: "true", notFullApp: "false", recentCalls: "false", notRecentCalls: "true"]
}
gPlayRecentCalls {
dimension "updating_mechanism"
applicationIdSuffix ".gprc"
manifestPlaceholders = [fullApp: "false", notFullApp: "true", recentCalls: "true", notRecentCalls: "false"]
}
}
compileOptions {
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
abortOnError false
}
}
dependencies {
implementation 'androidx.room:room-runtime:2.2.5'
annotationProcessor 'androidx.room:room-compiler:2.2.5'
implementation 'com.github.bumptech.glide:glide:4.11.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.material:material:1.2.0-beta01'
implementation 'androidx.legacy:legacy-support-core-ui:1.0.0'
implementation 'com.duolingo.open:rtl-viewpager:2.0.0'
implementation 'de.hdodenhof:circleimageview:3.1.0'
implementation 'net.danlew:android.joda:2.10.6'
implementation 'com.github.nisrulz:lantern:2.0.0'
implementation 'com.yqritc:recyclerview-flexibledivider:1.4.0'
implementation 'com.android.volley:volley:1.1.1'
implementation "ch.acra:acra-http:5.6.1"
implementation 'androidx.exifinterface:exifinterface:1.2.0'
implementation 'com.pierfrancescosoffritti.androidyoutubeplayer:core:10.0.5'
// Only for tests
androidTestImplementation 'androidx.test:rules:1.2.0'
androidTestImplementation 'com.tomash:androidcontacts:1.14.0'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
testImplementation 'junit:junit:4.13'
//Problematic library
implementation 'androidx.appcompat:appcompat:1.1.0'
}