build.gradle
1.72 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
apply plugin: 'com.android.library'
android {
// compileSdkVersion 29
// buildToolsVersion "29.0.2"
//
//
// defaultConfig {
// minSdkVersion 21
// targetSdkVersion 29
// versionCode 1
// versionName "1.0"
//
// testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
// consumerProguardFiles 'consumer-rules.pro'
// }
buildTypes {
debug {
resValue("string", "ACCOUNT_LABEL", "网家家 内测")
resValue("string", "ACCOUNT_TYPE", "com.cnlive.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 'androidx.appcompat:appcompat:1.1.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
implementation project(path: ':core:network')
implementation "com.cnlive.libs:emoj:$rootProject.libEmoj"
//图片选择器
implementation "com.cnlive.libs:mediapicker:$rootProject.libMediaPicker"
// implementation project(path: ':cloud:third_tool')
}