| | |
| | | ] |
| | | |
| | | android { |
| | | namespace 'com.hdl.photovoltaic' // 替换为你的包名 |
| | | signingConfigs { |
| | | debug { |
| | | storeFile file('../keystore/Untitled') |
| | |
| | | } |
| | | } |
| | | compileSdk 35 |
| | | buildToolsVersion "35.0.0" |
| | | defaultConfig { |
| | | applicationId "com.hdl.photovoltaic" |
| | | minSdk 23 |
| | | targetSdk 35 |
| | | versionCode 20 |
| | | versionCode 23 |
| | | versionName "2.0.0"//版本规则1.3是产品功能迭代用的,最后一位0是我们修复bug用的 |
| | | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| | | multiDexEnabled true |
| | |
| | | sourceCompatibility JavaVersion.VERSION_1_8 |
| | | targetCompatibility JavaVersion.VERSION_1_8 |
| | | } |
| | | |
| | | // 启用 BuildConfig 生成 |
| | | buildFeatures { |
| | | buildConfig true |
| | | } |
| | | } |
| | | //构建时间 |
| | | static def generateTime() { |
| | |
| | | |
| | | implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs') |
| | | |
| | | implementation 'androidx.appcompat:appcompat:1.3.0' |
| | | implementation 'androidx.appcompat:appcompat:1.1.0' |
| | | implementation 'com.google.android.material:material:1.4.0' |
| | | implementation 'androidx.constraintlayout:constraintlayout:2.0.4' |
| | | implementation 'androidx.navigation:navigation-fragment:2.3.5' |
| | |
| | | implementation 'com.hdl.hdlhttp:hxhttp:1.0.4'//1.0.4 |
| | | //okhttp 打印 |
| | | implementation 'com.squareup.okhttp3:logging-interceptor:4.9.1' |
| | | |
| | | //Eventbus事件发布与接收 |
| | | implementation 'org.greenrobot:eventbus:3.3.1' |
| | | //屏幕适配库 |
| | |
| | | implementation 'cn.jiguang.sdk.plugin:huawei:5.0.3' |
| | | implementation 'com.huawei.agconnect:agconnect-core:1.9.1.301' |
| | | |
| | | //友盟 |
| | | implementation 'com.umeng.umsdk:common:9.5.6'// 必选 |
| | | implementation 'com.umeng.umsdk:asms:1.6.3'// 必选 |
| | | implementation 'com.umeng.umsdk:apm:1.7.0' // 错误分析 |
| | | // //友盟 |
| | | // implementation 'com.umeng.umsdk:common:9.5.6'// 必选 |
| | | // implementation 'com.umeng.umsdk:asms:1.6.3'// 必选 |
| | | // implementation 'com.umeng.umsdk:apm:1.7.0' // 错误分析 |
| | | //引入FCM(原生谷歌) |
| | | implementation 'com.google.firebase:firebase-messaging:23.2.1' |
| | | |