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'
|