kimi
2021-02-18 0ac056bb5b4c567293482286c80a1b83a467cd33
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
apply plugin: 'com.android.library'
 
android {
    signingConfigs {
        wfc {
            keyAlias 'wfc'
            keyPassword 'wildfirechat'
            storeFile file('../wfc.keystore')
            storePassword 'wildfirechat'
        }
    }
    compileSdkVersion 29
    aaptOptions.cruncherEnabled = false
    aaptOptions.useNewCruncher = false
    defaultConfig {
        minSdkVersion 21
        targetSdkVersion 29 //当targetversion大于23时,需要使用fileprovider
        versionCode 27
        versionName "0.8.0.rc3"
        multiDexEnabled true
        javaCompileOptions {
//            annotationProcessorOptions {
//                includeCompileClasspath false
//            }
        }
 
        signingConfig signingConfigs.wfc
 
        ndk {
            abiFilters "armeabi-v7a", 'x86', 'x86_64' // ,'armeabi', 'arm64-v8a', 'x86', 'x86_64'
        }
    }
    dataBinding {
        enabled = true
    }
 
    compileOptions {
        coreLibraryDesugaringEnabled true
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    lintOptions {
        abortOnError false
    }
    sourceSets {
        main {
            res.srcDirs += ['src/main/res-av']
 
//             moment start
            java.srcDirs += ['../../android-momentkit/src/main/java']
            res.srcDirs += ['../../android-momentkit/src/main/res-moment']
//             moment end
        }
    }
    productFlavors {
    }
}
 
dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
 
    implementation 'com.lqr.adapter:library:1.0.2'
    implementation 'com.jaeger.statusbaruitl:library:1.3.5'
    implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
 
    coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.4'
 
    // wfc kit start
    implementation 'q.rorbin:badgeview:1.1.3'
    api 'androidx.appcompat:appcompat:1.3.0-alpha01'
    api 'com.google.android.material:material:1.3.0-alpha01'
    implementation 'cjt.library.wheel:camera:1.1.9'
    implementation 'com.kyleduo.switchbutton:library:1.4.4'
    api 'com.squareup.okhttp3:okhttp:3.11.0'
    implementation 'com.squareup.okio:okio:1.14.0'
    api 'com.jakewharton:butterknife:10.2.1'
    annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1'
    api 'com.github.bumptech.glide:glide:4.8.0'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
    implementation 'com.github.chrisbanes:PhotoView:2.3.0'
    implementation 'org.webrtc:google-webrtc:1.0.30039'
    api 'com.afollestad.material-dialogs:core:0.9.6.0'
    implementation 'com.google.code.gson:gson:2.8.5'
 
    // ViewModel and LiveData
    def lifecycle_version = '2.2.0'
    api "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
 
    api project(':client')
    api project(':avenginekit')
    implementation project(':emojilibrary')
    implementation project(':imagepicker')
 
    api 'com.king.zxing:zxing-lite:1.1.1'
    implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
    implementation 'androidx.gridlayout:gridlayout:1.0.0'
    implementation 'com.google.android:flexbox:2.0.1'
 
    implementation 'com.tencent.map.geolocation:TencentLocationSdk-openplatform:7.2.6'
 
    implementation 'com.github.zhaolewei:ZlwAudioRecorder:v1.07'
 
    implementation 'com.gyf.immersionbar:immersionbar:3.0.0-beta05'
    implementation 'com.airbnb.android:lottie:2.8.0'
    implementation 'com.androidkun:XTabLayout:1.1.4'
    implementation 'io.reactivex:rxjava:1.1.0'
    implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
    implementation 'io.kvh:amr:1.1.1'
    // kit wfc end
 
    implementation 'com.zzhoujay.richtext:richtext:3.0.1'
    implementation 'com.zzhoujay:html:1.0.1'
 
 
    //player
    implementation 'com.github.dueeeke.dkplayer:dkplayer-java:3.2.6'
    implementation 'com.github.dueeeke.dkplayer:player-ijk:3.2.6'
 
    implementation 'com.github.dueeeke.dkplayer:videocache:3.2.6'
    implementation 'com.github.dueeeke.dkplayer:dkplayer-ui:3.2.6'
 
    implementation 'com.lxj:xpopup:2.2.19'
    implementation 'com.yanzhenjie.recyclerview:x:1.3.2'
 
    // moment start
    implementation project(':momentclient')
    implementation project(':circledialog')
    implementation project(':nuisdk-release')
    implementation files('libs/fastjson-1.1.46.android.jar')
    //over scroller helper
    api 'me.everything:overscroll-decor-android:1.0.4'
    // moment end
 
}
 
apply plugin: 'com.jakewharton.butterknife'