-
Notifications
You must be signed in to change notification settings - Fork 154
Expand file tree
/
Copy pathbuild.gradle
More file actions
69 lines (58 loc) · 2.47 KB
/
Copy pathbuild.gradle
File metadata and controls
69 lines (58 loc) · 2.47 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
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
apply plugin: 'com.android.application'
android {
compileSdkVersion versions.compileSdk
defaultConfig {
applicationId "com.twilio.video.examples.videoinvite"
minSdkVersion versions.minSdk
targetSdkVersion versions.targetSdk
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
buildConfigField("String",
"TWILIO_SDK_STARTER_SERVER_URL",
"\"${getSecretProperty("TWILIO_SDK_STARTER_SERVER_URL", "TWILIO_SDK_STARTER_SERVER_URL")}\"")
}
compileOptions {
sourceCompatibility versions.java
targetCompatibility versions.java
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
resources {
excludes += ['LICENSE.txt', 'META-INF/LICENSE']
}
}
namespace 'com.twilio.video.examples.videoinvite'
lint {
baseline file('lint-baseline.xml')
disable 'GradleDependency', 'NotificationIconCompatibility'
warningsAsErrors true
}
}
dependencies {
implementation 'androidx.test.ext:junit:1.1.5'
testImplementation 'junit:junit:4.12'
androidTestImplementation('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
implementation "com.twilio:video-android:${versions.videoAndroid}"
implementation "androidx.core:core:1.7.0"
implementation "com.google.firebase:firebase-messaging:${versions.firebase}"
implementation "com.google.firebase:firebase-installations:17.1.3"
implementation "com.squareup.retrofit2:retrofit:${versions.retrofit}"
// Pin jackson-databind to 2.7.9.7 to mitigate CWE-502 (deserialization of untrusted data)
implementation("com.squareup.retrofit2:converter-jackson:${versions.retrofit}") {
exclude group: 'com.fasterxml.jackson.core', module: 'jackson-databind'
}
implementation "com.fasterxml.jackson.core:jackson-databind:2.7.9.7"
implementation "com.squareup.okhttp3:logging-interceptor:${versions.okhttp}"
implementation "com.koushikdutta.ion:ion:${versions.ion}"
implementation "com.android.support:appcompat-v7:${versions.supportLibrary}"
implementation "com.android.support:design:${versions.supportLibrary}"
}
apply plugin: 'com.google.gms.google-services'