This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
/
build.gradle
75 lines (61 loc) · 2.56 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
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
defaultConfig {
applicationId "com.zendesk.rememberthedate"
minSdkVersion 16
targetSdkVersion 29
versionCode 25
versionName "2.2.3"
resValue "string", "google_api_key", System.getenv("zdGoogleApiKey")
?: rootProject.properties["zdGoogleApiKey"]
?: "replace me"
resValue "string", "fcm_application_id", System.getenv("zdFcmApplicationId")
?: rootProject.properties["zdFcmApplicationId"]
?: "replace me"
}
signingConfigs {
release {
storeFile file("../scripts/rtd.jks")
storePassword System.getenv("RTD_STORE_PASS")
keyAlias System.getenv("RTD_ALIAS")
keyPassword System.getenv("RTD_KEY_PASS")
}
}
buildTypes {
debug {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
release {
if (file("../scripts/rtd.jks").exists()) {
signingConfig signingConfigs.release
}
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
// Don't change this to false
abortOnError true
lintConfig file("lint.xml")
}
}
dependencies {
implementation group: 'androidx.legacy', name: 'legacy-support-v4', version: '1.0.0'
implementation group: 'com.google.android.material', name: 'material', version: '1.2.0'
implementation group: 'androidx.appcompat', name: 'appcompat', version: '1.1.0'
implementation group: 'androidx.recyclerview', name: 'recyclerview', version: '1.1.0'
implementation group: 'androidx.cardview', name: 'cardview', version: '1.0.0'
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.5'
implementation group: 'com.google.android.gms', name: 'play-services-gcm', version: '17.0.0'
implementation group: 'com.google.firebase', name: 'firebase-messaging', version: '20.2.4'
implementation group: 'com.zendesk', name: 'support', version: '5.0.0'
implementation group: 'com.zendesk', name: 'messaging', version: '5.0.0'
implementation group: 'com.zendesk', name: 'answerbot', version: '3.0.0'
implementation group: 'com.zendesk', name: 'chat', version: '3.0.0'
}