build.gradle
1.39 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
apply plugin: 'com.android.library'
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode rootProject.ext.versionCode
versionName rootProject.ext.versionName
}
buildTypes {
debug{
resValue("string", "ACCOUNT_LABEL", "网家家 内测")
resValue("string", "ACCOUNT_TYPE", "com.cnlive.strike.debug.AccountType")
resValue("string", "ACCOUNT_PROVIDE", "com.cnlive.strike.debug.AccountProvide")
}
release {
resValue("string", "ACCOUNT_LABEL", "网家家")
resValue("string", "ACCOUNT_TYPE", "com.cnlive.strike.AccountType")
resValue("string", "ACCOUNT_PROVIDE", "com.cnlive.strike.AccountProvide")
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "com.android.support:appcompat-v7:$rootProject.appcompatV7"
//视讯云SDK
implementation "com.cnlive:lib_cnutil:$rootProject.libCnUtil"
implementation "com.cnlive.libs:base:$rootProject.libBase"
implementation project(':lib_network')
}