| | |
| | | } |
| | | |
| | | android { |
| | | signingConfigs { |
| | | debug { |
| | | storeFile file('../dycz.jks') |
| | | storePassword 'dycz@2023' |
| | | keyAlias 'dayu' |
| | | keyPassword 'dycz@2023' |
| | | } |
| | | } |
| | | namespace 'com.dayu.pipirrapp' |
| | | compileSdk 33 |
| | | |
| | | defaultConfig { |
| | | applicationId "com.dayu.pipirrapp" |
| | | minSdk 24 |
| | | targetSdk 33 |
| | | targetSdk 31 |
| | | versionCode 1 |
| | | versionName "1.0" |
| | | |
| | | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| | | |
| | | signingConfig signingConfigs.debug |
| | | |
| | | manifestPlaceholders = [ |
| | | JPUSH_PKGNAME : applicationId, |
| | | //JPush 上注册的包名对应的 Appkey. |
| | | JPUSH_APPKEY : "375adbd599ceb9977566b929", |
| | | //暂时填写默认值即可. |
| | | JPUSH_CHANNEL : "developer-default", |
| | | |
| | | //若不集成厂商通道,可直接跳过以下配置 |
| | | MEIZU_APPKEY : "MZ-魅族的APPKEY", |
| | | MEIZU_APPID : "MZ-魅族的APPID", |
| | | XIAOMI_APPID : "MI-小米的APPID", |
| | | XIAOMI_APPKEY : "MI-小米的APPKEY", |
| | | OPPO_APPKEY : "OP-oppo的APPKEY", |
| | | OPPO_APPID : "OP-oppo的APPID", |
| | | OPPO_APPSECRET : "OP-oppo的APPSECRET", |
| | | VIVO_APPKEY : "vivo的APPKEY", |
| | | VIVO_APPID : "vivo的APPID", |
| | | HONOR_APPID : "Honor的APP ID", |
| | | ] |
| | | ndk { |
| | | // 设置支持的SO库架构(开发者可以根据需要,选择一个或多个平台的so) |
| | | abiFilters "armeabi", "armeabi-v7a", "arm64-v8a", "x86","x86_64" |
| | | } |
| | | } |
| | | |
| | | buildTypes { |
| | |
| | | // implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0")) |
| | | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.10" |
| | | //权限 |
| | | implementation('com.guolindev.permissionx:permissionx:1.7.1') { |
| | | exclude group: 'androidx.core'; |
| | | exclude group: 'androidx.appcompat'; |
| | | exclude group: 'androidx.annotation'; |
| | | } |
| | | implementation 'com.github.getActivity:XXPermissions:18.5' |
| | | //列表 |
| | | implementation 'io.github.scwang90:refresh-layout-kernel:2.0.5' |
| | | implementation 'io.github.scwang90:refresh-header-classics:2.0.5' |
| | |
| | | //loding |
| | | implementation 'com.pnikosis:materialish-progress:1.7' |
| | | |
| | | //定位 |
| | | implementation 'com.baidu.lbsyun:BaiduMapSDK_Location:9.3.7' |
| | | |
| | | |
| | | |
| | | |
| | | //推送相关 |
| | | // 此处以JPush 5.0.0 版本为例,5.0.0 版本开始可以自动拉取 JCore 包,无需另外配置 |
| | | // //推送相关 |
| | | // // 此处以JPush 5.0.0 版本为例,5.0.0 版本开始可以自动拉取 JCore 包,无需另外配置 |
| | | implementation 'cn.jiguang.sdk:jpush:5.2.2' |
| | | //若不集成厂商通道,可直接跳过以下依赖 |
| | | // 极光厂商插件版本与接入 JPush 版本保持一致,下同 |
| | | // 接入华为厂商 |
| | | // //若不集成厂商通道,可直接跳过以下依赖 |
| | | // // 极光厂商插件版本与接入 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' |
| | | // 接入魅族厂商 |
| | | // // 接入 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 厂商 |
| | | // // 接入 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需要依赖 |
| | | // // 接入 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' |
| | | // apply plugin: 'com.huawei.agconnect' |
| | | } |