-
Notifications
You must be signed in to change notification settings - Fork 159
/
build.gradle
54 lines (44 loc) · 1.68 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
apply plugin: 'com.android.application'
android {
compileSdkVersion versions.compileSdk
defaultConfig {
applicationId "com.twilio.video.examples.datatrack"
minSdkVersion versions.minSdk
targetSdkVersion versions.targetSdk
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
buildConfigField("String",
"TWILIO_ACCESS_TOKEN",
"\"${getSecretProperty("TWILIO_ACCESS_TOKEN", "TWILIO_ACCESS_TOKEN")}\"")
buildConfigField("String",
"TWILIO_ACCESS_TOKEN_SERVER",
"\"${getSecretProperty("TWILIO_ACCESS_TOKEN_SERVER", "http://localhost:3000")}\"")
buildConfigField("boolean",
"USE_TOKEN_SERVER",
"${getSecretProperty("USE_TOKEN_SERVER", false)}")
}
compileOptions {
sourceCompatibility versions.java
targetCompatibility versions.java
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
namespace 'com.twilio.video.examples.datatrack'
lint {
baseline file('lint-baseline.xml')
disable 'GradleDependency'
warningsAsErrors true
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "com.twilio:video-android:${versions.videoAndroid}"
implementation "com.android.support:appcompat-v7:${versions.supportLibrary}"
implementation "com.android.support:design:${versions.supportLibrary}"
implementation "com.koushikdutta.ion:ion:${versions.ion}"
}