| | |
| | | } |
| | | } |
| | | namespace 'com.dayu.pipirrapp' |
| | | compileSdk 33 |
| | | compileSdk 34 |
| | | |
| | | defaultConfig { |
| | | applicationId "com.dayu.pipirrapp" |
| | |
| | | } |
| | | |
| | | buildTypes { |
| | | debug{ |
| | | buildConfigField "boolean", "DEBUG", "true" |
| | | } |
| | | release { |
| | | buildConfigField "boolean", "DEBUG", "false" |
| | | minifyEnabled false |
| | | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' |
| | | } |
| | |
| | | sourceCompatibility JavaVersion.VERSION_1_8 |
| | | targetCompatibility JavaVersion.VERSION_1_8 |
| | | } |
| | | |
| | | // 启用 buildConfig 特性 |
| | | buildFeatures { |
| | | buildConfig true |
| | | } |
| | | dataBinding { |
| | | enabled = true; |
| | | } |
| | |
| | | //定位 |
| | | implementation 'com.baidu.lbsyun:BaiduMapSDK_Location:9.3.7' |
| | | |
| | | |
| | | // //推送相关 |
| | | // // 此处以JPush 5.0.0 版本为例,5.0.0 版本开始可以自动拉取 JCore 包,无需另外配置 |
| | | // implementation 'cn.jiguang.sdk:jpush:5.2.2' |
| | | // //若不集成厂商通道,可直接跳过以下依赖 |
| | | // // 极光厂商插件版本与接入 JPush 版本保持一致,下同 |
| | | // // 接入华为厂商 |
| | | // implementation 'com.huawei.hms:push:6.5.0.300' |
| | | // implementation 'cn.jiguang.sdk.plugin:huawei:5.2.2' |
| | | // // 接入 FCM 厂商 |
| | | // implementation 'com.google.firebase:firebase-messaging:23.0.5' |
| | | // implementation 'cn.jiguang.sdk.plugin:fcm:5.2.2' |
| | | // // 接入魅族厂商 |
| | | // implementation 'cn.jiguang.sdk.plugin:meizu:5.2.2' |
| | | // // 接入 VIVO 厂商 |
| | | // implementation 'cn.jiguang.sdk.plugin:vivo:5.2.2' |
| | | // // 接入小米厂商 |
| | | // implementation 'cn.jiguang.sdk.plugin:xiaomi:5.2.2' |
| | | // // 接入 OPPO 厂商 |
| | | // implementation 'cn.jiguang.sdk.plugin:oppo:5.2.2' |
| | | // // JPush Android SDK v4.6.0 开始,需要单独引入 oppo 厂商 aar ,请下载官网 SDK 包并把 jpush-android-xxx-release/third-push/oppo/libs 下的 aar 文件单独拷贝一份到应用 module/libs 下 |
| | | // implementation(name: 'com.heytap.msp-push-3.1.0', ext: 'aar') |
| | | // //以下为 OPPO 3.1.0 aar需要依赖 |
| | | // implementation 'com.google.code.gson:gson:2.6.2' |
| | | // implementation 'commons-codec:commons-codec:1.6' |
| | | // implementation 'androidx.annotation:annotation:1.1.0' |
| | | // // 接入荣耀厂商 |
| | | // implementation 'cn.jiguang.sdk.plugin:honor:5.2.2' |
| | | |
| | | // apply plugin: 'com.google.gms.google-services' |
| | | // apply plugin: 'com.huawei.agconnect' |
| | | |
| | | |
| | | //圆形头像 |
| | | implementation 'de.hdodenhof:circleimageview:3.1.0' |
| | | |
| | | //广播通信 |
| | | implementation 'io.github.jeremyliao:live-event-bus-x:1.8.0' |
| | | |
| | | //阿里的RocketMQ |
| | | // implementation 'org.apache.rocketmq:rocketmq-client:4.9.4' |
| | | |
| | | //mqtt |
| | | implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.5' |
| | | |
| | | //room数据库 |
| | |
| | | implementation "androidx.room:room-rxjava3:2.3.0" |
| | | |
| | | //图片 |
| | | implementation 'com.github.bumptech.glide:glide:4.11.0' |
| | | implementation 'com.github.bumptech.glide:glide:4.16.0' |
| | | // PictureSelector 基础 (必须图片选择) |
| | | implementation 'io.github.lucksiege:pictureselector:v3.11.2' |
| | | // 图片压缩 (按需引入) |
| | | implementation 'io.github.lucksiege:compress:v3.11.2' |
| | | |
| | | // 图片查看 |
| | | implementation('com.github.SherlockGougou:BigImageViewPager:androidx-7.2.3') { |
| | | implementation('com.github.SherlockGougou:BigImageViewPager:androidx-8.1.3') { |
| | | exclude group: 'androidx.appcompat'; |
| | | exclude group: 'com.google.android.material'; |
| | | exclude group: 'androidx.core'; |
| | | } |
| | | |
| | | implementation "androidx.media3:media3-exoplayer:1.4.1" |
| | | implementation "androidx.media3:media3-exoplayer-dash:1.4.1" |
| | | implementation "androidx.media3:media3-ui:1.4.1" |
| | | annotationProcessor 'com.github.bumptech.glide:compiler:4.16.0'// kotlin请使用kapt |
| | | implementation 'com.github.bumptech.glide:okhttp3-integration:4.16.0' |
| | | implementation "com.github.zjupure:webpdecoder:2.3.4.14.2" |
| | | //进度加载 |
| | | implementation 'com.github.jenly1314:circleprogressview:1.1.3' |
| | | |