123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- apply plugin: 'com.android.application'
- // 华为推送,agconnect-services.json 文件也得在在application module的根目录
- apply plugin: 'com.huawei.agconnect'
- android {
- signingConfigs {
- wfc {
- keyAlias 'wfc'
- keyPassword 'wildfirechat'
- storeFile file('../wfc.keystore')
- storePassword 'wildfirechat'
- }
- }
- compileSdkVersion 31
- ndkVersion '18.1.5063045'
- defaultConfig {
- applicationId "cn.wildfirechat.chat"
- minSdkVersion 21
- targetSdkVersion 31 //当targetversion大于23时,需要使用fileprovider
- versionCode 46
- versionName '0.9.8'
- multiDexEnabled true
- javaCompileOptions {
- annotationProcessorOptions {
- // includeCompileClasspath true
- }
- }
- ndk {
- abiFilters 'armeabi-v7a', 'x86', 'x86_64', 'arm64-v8a' // ,'armeabi', 'arm64-v8a', 'x86', 'x86_64'
- }
- }
- buildTypes {
- release {
- minifyEnabled true
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- //signingConfig signingConfigs.wfc
- }
- debug {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- productFlavors {
- }
- namespace 'cn.wildfirechat.chat'
- lint {
- abortOnError false
- }
- }
- dependencies {
- implementation fileTree(dir: "libs", include: ["*.jar", "*.aar"])
- implementation 'com.tencent.bugly:crashreport:4.0.0'
- implementation 'com.tencent.bugly:nativecrashreport:3.9.2'
- implementation 'androidx.multidex:multidex:2.0.1'
- implementation project(':push')
- implementation 'com.github.tiann:FreeReflection:3.1.0'
- implementation project(':uvccamera')
- // 采用 library module 的方式依赖 uikit,如果需要采用 aar 方式集成,请仔细下面的注释
- implementation project(':uikit')
- // 采用 aar 方式依赖 uikit,
- /*
- implementation fileTree(dir: "uikit_aars", include: ["*.aar"])
- // 采用 aar 方式集成时,还需要下面这些依赖
- // wfc kit start
- // project 相关的依赖,已编译成 aar 放到了 uikit_aars 目录
- // implementation project(':webrtc')
- // implementation project(':client')
- // implementation project(':avenginekit')
- // implementation project(':emojilibrary')
- // implementation project(':imagepicker')
- // implementation project(':pttclient')
- implementation 'com.lqr.adapter:library:1.0.2'
- implementation 'com.jaeger.statusbaruitl:library:1.3.5'
- implementation 'androidx.appcompat:appcompat:1.3.0-alpha01'
- implementation 'com.google.android.material:material:1.3.0-alpha01'
- implementation 'cjt.library.wheel:camera:1.1.9'
- implementation 'com.github.bumptech.glide:glide:4.9.0'
- annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
- implementation 'com.github.chrisbanes:PhotoView:2.3.0'
- implementation 'com.afollestad.material-dialogs:core:0.9.6.0'
- implementation 'com.google.code.gson:gson:2.8.5'
- implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
- implementation '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 'io.kvh:amr:1.1.1'
- implementation 'com.squareup.okhttp3:okhttp:3.11.0'
- implementation 'com.squareup.okio:okio:1.14.0'
- implementation 'com.tbuonomo.andrui:viewpagerdotsindicator:2.1.2'
- implementation 'cn.aigestudio.wheelpicker:WheelPicker:1.1.3'
- // moment start
- // implementation project(':momentclient')
- //over scroller helper
- // implementation 'me.everything:overscroll-decor-android:1.0.4'
- // moment end
- // kit wfc end
- */
- }
|