103 lines
3.6 KiB
Groovy
103 lines
3.6 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 2401171
|
|
versionName "3.0.20240117"
|
|
|
|
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'
|
|
|
|
|
|
} |