117 lines
4.5 KiB
Groovy
117 lines
4.5 KiB
Groovy
plugins {
|
||
id 'com.android.application'
|
||
}
|
||
|
||
android {
|
||
compileSdkVersion 30
|
||
buildToolsVersion "30.0.3"
|
||
|
||
defaultConfig {
|
||
applicationId "com.ycgis.macall.personalcenter"
|
||
minSdkVersion 23
|
||
targetSdkVersion 30
|
||
versionCode 2506051
|
||
versionName "3.1.20250605.01"
|
||
// versionCode 2000000
|
||
// versionName "2.0.202403221"
|
||
|
||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
}
|
||
|
||
buildTypes {
|
||
release {
|
||
minifyEnabled true
|
||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
}
|
||
debug{
|
||
minifyEnabled false
|
||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
}
|
||
}
|
||
|
||
compileOptions {
|
||
sourceCompatibility JavaVersion.VERSION_1_8
|
||
targetCompatibility JavaVersion.VERSION_1_8
|
||
}
|
||
buildFeatures {
|
||
viewBinding true
|
||
dataBinding true
|
||
}
|
||
packagingOptions {
|
||
exclude 'META-INF/XXX'
|
||
exclude 'META-INF/proguard/androidx-annotations.pro'
|
||
exclude 'META-INF/DEPENDENCIES.txt'
|
||
exclude 'META-INF/LICENSE.txt'
|
||
exclude 'META-INF/NOTICE.txt'
|
||
exclude 'META-INF/NOTICE'
|
||
exclude 'META-INF/LICENSE'
|
||
exclude 'META-INF/DEPENDENCIES'
|
||
exclude 'META-INF/notice.txt'
|
||
exclude 'META-INF/license.txt'
|
||
exclude 'META-INF/dependencies.txt'
|
||
exclude 'META-INF/LGPL2.1'
|
||
}
|
||
}
|
||
|
||
dependencies {
|
||
|
||
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||
implementation 'com.google.android.material:material:1.2.1'
|
||
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
|
||
testImplementation 'junit:junit:4.+'
|
||
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
||
|
||
// tableLayout
|
||
implementation 'io.github.h07000223:flycoTabLayout:3.0.0'
|
||
//选择组件
|
||
implementation 'com.contrarywind:Android-PickerView:4.1.9'
|
||
//轮播图
|
||
implementation 'io.github.youth5201314:banner:2.2.2'
|
||
//加载动画
|
||
implementation 'com.wang.avi:library:2.1.3'
|
||
//视频播放器 饺子视频播放器
|
||
implementation 'cn.jzvd:jiaozivideoplayer:7.7.0'
|
||
|
||
implementation 'com.github.Justson.AgentWeb:agentweb-core:v5.0.6-androidx' // (必选)
|
||
implementation 'com.github.Justson.AgentWeb:agentweb-filechooser:v5.0.6-androidx' // (可选)
|
||
implementation 'com.github.Justson:Downloader:v5.0.4-androidx'
|
||
|
||
//rxJava + retrofit
|
||
implementation 'io.reactivex.rxjava2:rxjava:2.2.4'
|
||
implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
|
||
implementation 'com.squareup.retrofit2:retrofit:2.6.1'
|
||
implementation 'com.squareup.retrofit2:converter-gson:2.6.1'
|
||
implementation 'com.squareup.retrofit2:converter-scalars:2.3.0'
|
||
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.6.1'
|
||
|
||
// Glide 设置 OkHttp 请求的注解 依赖
|
||
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
|
||
|
||
implementation 'com.google.android.material:material:1.5.0-alpha02'
|
||
//viewModel
|
||
implementation 'androidx.lifecycle:lifecycle-extensions:2.1.0'
|
||
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
||
implementation files('libs/com.code.base.jar')
|
||
implementation files('libs/AuthSDK_v3.0.0.aar')
|
||
implementation files('libs/MarketSDK_v3.0.16.11.aar')
|
||
implementation files('libs/unifyservemoduleSDK_V1.5.231221.aar')
|
||
implementation files('libs/libfriapkrecord-r1.0.1.aar')
|
||
implementation project(':BaseModel')
|
||
//Zxing 二维码识别
|
||
implementation 'com.github.jenly1314:zxing-lite:2.1.1'
|
||
|
||
// implementation('com.github.gzu-liyujiang:Android_CN_OAID:4.2.5.1') {
|
||
// // 如果使用了移动安全联盟SDK,共存的话需排除掉本项目依赖的华为/荣耀官方广告标识服务SDK,因为移动安全联盟SDK也依赖了华为/荣耀的SDK
|
||
// // 如果华为官方广告标识服务SDK下载失败或编译报错的话,可考虑在 build.gradle 中增加以下配置:
|
||
// // repositories { maven { url 'https://developer.huawei.com/repo' } }
|
||
// // runtimeOnly "com.huawei.hms:ads-identifier:3.4.62.300"
|
||
// exclude group: 'com.huawei.hms', module: 'ads-identifier'
|
||
// // 荣耀官方广告标识服务SDK同理:
|
||
// // repositories { maven { url 'https://developer.hihonor.com/repo' } }
|
||
// // runtimeOnly "com.hihonor.mcs:ads-identifier:1.0.2.301"
|
||
// exclude group: 'com.hihonor.mcs', module: 'ads-identifier'
|
||
// }
|
||
|
||
|
||
} |