apply plugin: 'com.android.library' android { signingConfigs { wfc { keyAlias 'wfc' keyPassword 'wildfirechat' storeFile file('../wfc.keystore') storePassword 'wildfirechat' } } compileSdkVersion 34 defaultConfig { minSdkVersion 21 targetSdkVersion 34 multiDexEnabled true javaCompileOptions { annotationProcessorOptions { // includeCompileClasspath true } } ndk { abiFilters "armeabi-v7a", 'x86', 'x86_64' // ,'armeabi', 'arm64-v8a', 'x86', 'x86_64' } } compileOptions { coreLibraryDesugaringEnabled true sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } 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 { } namespace 'cn.wildfire.chat.kit' lint { abortOnError false } buildFeatures { buildConfig true } } dependencies { implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs') // api files('libs/TencentMapSDK_Raster_v_1.3.4.1.jar') // api files('libs/TencentSearch1.1.3.jar') // implementation project(':library') // implementation files('libs/yTencentMapSDK_Raster_v_1.3.4.1.jar') // implementation files('libs/TencentSearch1.1.3.jar') coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.2' // wfc kit start implementation project(':webrtc') implementation project(':uikit-aar-dep') api project(':client') api project(':avenginekit') api project(':pttclient') api project(':badgeview') implementation project(':emojilibrary') implementation project(':imagepicker') api project(':menu') api project(':permission') // api 'com.lqr.adapter:library:1.0.2' // implementation 'com.jaeger.statusbaruitl:library:1.3.5' // implementation "com.tbuonomo:dotsindicator:4.3" api 'androidx.appcompat:appcompat:1.7.0' api 'com.google.android.material:material:1.10.0' // implementation 'cjt.library.wheel:camera:1.1.9' api 'com.github.bumptech.glide:glide:4.15.1' annotationProcessor 'com.github.bumptech.glide:compiler:4.15.1' annotationProcessor 'androidx.annotation:annotation:1.7.0' // implementation 'com.github.chrisbanes:PhotoView:2.3.0' api 'com.afollestad.material-dialogs:core:0.9.6.0' api 'com.google.code.gson:gson:2.9.0' api "androidx.lifecycle:lifecycle-extensions:2.2.0" // api 'com.king.zxing:zxing-lite:1.1.1' // https://gitee.com/jenly1314/ZXingLite api 'com.github.jenly1314:zxing-lite:3.3.0' // implementation 'com.google.zxing:core:3.5.3' // api 'cn.aigestudio.wheelpicker:WheelPicker:1.1.3' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' implementation 'androidx.gridlayout:gridlayout:1.0.0' // implementation 'com.google.android:flexbox:2.0.1' // api 'com.tencent.map.geolocation:TencentLocationSdk-openplatform:7.2.6' api 'com.tencent.map.geolocation:TencentLocationSdk-openplatform:7.6.1' // implementation 'com.tencent.map:tencent-map-vector-sdk:5.7.0' // 地图 //api 'com.tencent.map:tencent-map-vector-sdk:6.3.0.250311.940c5007.146962199' // 基础库 //api 'com.tencent.openmap:foundation:0.5.7.fc32fe3' // 地图组件库,包括小车平移、点聚合等组件功能,详见开发指南。 //api 'com.tencent.map:sdk-utilities:1.0.10' // // compileOnly 'io.kvh:amr:1.1.1' // implementation 'com.tbuonomo.andrui:viewpagerdotsindicator:2.1.2' // api libs.luban //权限管理 https://github.com/guolindev/PermissionX implementation 'com.guolindev.permissionx:permissionx:1.5.0' //https://github.com/LuckSiege/PictureSelector/blob/version_component/README_CN.md // PictureSelector 基础 (必须) api 'io.github.lucksiege:pictureselector:v3.0.9' // 图片压缩 (按需引入) // implementation 'io.github.lucksiege:compress:v3.0.9' // 图片裁剪 (按需引入) // implementation 'io.github.lucksiege:ucrop:v3.0.9' // 自定义相机 (按需引入) api 'io.github.lucksiege:camerax:v3.0.9' // moment start // momentclient module is just for dev, do not uncomment // implementation project(':momentclient') // moment end // kit wfc end // 2 如果要修改okhttp依赖的版本,可采用以下方式(强烈建议使用七牛库依赖的okhttp版本) implementation ('com.qiniu:qiniu-android-sdk:8.8.+'){ exclude (group: 'com.squareup.okhttp3', module: 'okhttp') } //https://gitee.com/li_yu_jiang/AndroidPicker/ implementation 'com.github.gzu-liyujiang.AndroidPicker:Common:4.1.12' implementation 'com.github.gzu-liyujiang.AndroidPicker:WheelView:4.1.12' implementation 'com.github.gzu-liyujiang.AndroidPicker:AddressPicker:4.1.12' implementation 'com.github.gzu-liyujiang.AndroidPicker:CalendarPicker:4.1.12' //https://github.com/venshine/WheelView implementation 'com.wx.wheelview:wheelview:1.3.3' //https://gitcode.com/gh_mirrors/smar/SmartRefreshLayout?utm_source=highlight_word_gitcode&word=smartrefreshlayout api 'io.github.scwang90:refresh-layout-kernel:2.1.0' //核心必须依赖 api 'io.github.scwang90:refresh-header-classics:2.1.0' //经典刷新头 api 'io.github.scwang90:refresh-footer-classics:2.1.0' //经典加载 // 图片压缩 https://gitee.com/ling-heng/Luban?_from=gitee_search // release仓库没有了,需要代理使用国内的,在jcenter上加 api 'top.zibin:Luban:1.1.8' //短信输入框 https://github.com/maning0303/MNPasswordEditText api 'com.github.maning0303:MNPasswordEditText:V1.0.4' // https://github.com/getActivity/XXPermissions // 设备兼容框架:https://github.com/getActivity/DeviceCompat api 'com.github.getActivity:DeviceCompat:1.0' // 权限请求框架:https://github.com/getActivity/XXPermissions // api 'com.github.getActivity:XXPermissions:20.0' api 'com.github.getActivity:XXPermissions:26.5' }