build.gradle
1.04 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
apply plugin: 'com.android.library'
static def stringValue(def value) {
return "\"${value}\""
}
android {
defaultConfig {
}
buildTypes {
debug {
resValue("string", "ACCOUNT_LABEL", "网家家 内测")
resValue("string", "ACCOUNT_TYPE", "com.c nlive.strike.debug.AccountType")
resValue("string", "ACCOUNT_PROVIDE", "com.cnlive.strike.debug.AccountProvide")
zipAlignEnabled true
}
release {
resValue("string", "ACCOUNT_LABEL", "网家家")
resValue("string", "ACCOUNT_TYPE", "com.cnlive.strike.AccountType")
resValue("string", "ACCOUNT_PROVIDE", "com.cnlive.strike.AccountProvide")
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
zipAlignEnabled true
}
}
dataBinding {
enabled true
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation project(path: ':core:network')
}