forked from twilio/video-quickstart-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (39 loc) · 1.52 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
apply plugin: 'com.android.application'
android {
compileSdkVersion versions.compileSdk
buildToolsVersion "${versions.buildTools}"
defaultConfig {
applicationId "com.twilio.video.examples.datatrack"
minSdkVersion 16
targetSdkVersion 26
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'
}
}
}
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}"
}