| | |
| | | JPUSH_APPKEY : "375adbd599ceb9977566b929", |
| | | //暂时填写默认值即可. |
| | | JPUSH_CHANNEL : "developer-default", |
| | | |
| | | //若不集成厂商通道,可直接跳过以下配置 |
| | | MEIZU_APPKEY : "MZ-魅族的APPKEY", |
| | | MEIZU_APPID : "MZ-魅族的APPID", |
| | |
| | | } |
| | | |
| | | 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 "androidx.room:room-ktx:2.3.0" |
| | | runtimeOnly("androidx.room:room-common:2.3.0") |
| | | annotationProcessor "androidx.room:room-compiler:2.3.0" |
| | | implementation "androidx.room:room-rxjava3:2.3.0" |
| | | |
| | | //图片 |
| | | implementation 'com.github.bumptech.glide:glide:4.11.0' |
| | |
| | | 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') { |
| | | exclude group: 'androidx.appcompat'; |
| | | exclude group: 'com.google.android.material'; |
| | | exclude group: 'androidx.core'; |
| | | } |
| | | |
| | | //进度加载 |
| | | implementation 'com.github.jenly1314:circleprogressview:1.1.3' |
| | | |
| | | } |