mirror of
https://e.coding.net/mcontext/mContext/sdu.git
synced 2024-09-18 02:24:54 +08:00
91 lines
3.2 KiB
Groovy
91 lines
3.2 KiB
Groovy
apply plugin: 'com.android.application'
|
||
|
||
android {
|
||
compileSdkVersion 29
|
||
ndkVersion "21.1.6352462"
|
||
|
||
dataBinding {
|
||
enabled true
|
||
}
|
||
android.buildFeatures.dataBinding
|
||
defaultConfig {
|
||
applicationId "com.yuxihan.sdu"
|
||
minSdkVersion 24
|
||
targetSdkVersion 29
|
||
versionCode 1
|
||
versionName "1.0"
|
||
|
||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
}
|
||
|
||
buildTypes {
|
||
release {
|
||
minifyEnabled false
|
||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
}
|
||
}
|
||
compileOptions {
|
||
sourceCompatibility JavaVersion.VERSION_1_8
|
||
targetCompatibility JavaVersion.VERSION_1_8
|
||
}
|
||
}
|
||
|
||
|
||
dependencies {
|
||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||
|
||
implementation 'androidx.appcompat:appcompat:1.4.1'
|
||
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
|
||
implementation 'androidx.annotation:annotation:1.3.0'
|
||
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
||
implementation 'androidx.navigation:navigation-fragment:2.4.1'
|
||
implementation 'androidx.navigation:navigation-ui:2.4.1'
|
||
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
||
implementation 'com.google.android.material:material:1.5.0'
|
||
//第三方aar包
|
||
implementation 'com.squareup.retrofit2:retrofit:2.7.1'
|
||
implementation 'com.squareup.okhttp:okhttp:2.7.5'
|
||
implementation 'com.squareup.retrofit2:converter-gson:2.7.1'
|
||
implementation 'com.github.bumptech.glide:glide:4.11.0'
|
||
implementation 'com.shuyu:GSYVideoPlayer:7.1.3'
|
||
//刘海屏等沉浸式状态栏处理
|
||
// 基础依赖包,必须要依赖
|
||
implementation 'com.gyf.immersionbar:immersionbar:3.0.0'
|
||
// fragment快速实现(可选)
|
||
implementation 'com.gyf.immersionbar:immersionbar-components:3.0.0'
|
||
//圆形imageView
|
||
implementation 'de.hdodenhof:circleimageview:3.1.0'
|
||
//下拉刷新上拉加载
|
||
implementation 'com.lcodecorex:tkrefreshlayout:1.0.7'
|
||
//图片九宫格
|
||
implementation 'com.lzy.widget:ninegridview:0.2.0'
|
||
//腾讯云sdk
|
||
implementation('com.tencent.qcloud:cosxml:5.4.31') {
|
||
exclude group: 'com.tencent.qcloud', module: 'mtaUtils' //关闭 mta 上报功能
|
||
}
|
||
//点赞动画
|
||
implementation 'com.sackcentury:shinebutton:1.0.0'
|
||
//工具类
|
||
implementation 'com.blankj:utilcodex:1.28.4'
|
||
//时间日期选择器
|
||
implementation 'com.wdullaer:materialdatetimepicker:4.2.3'
|
||
//日志库
|
||
implementation('com.github.ihsanbal:LoggingInterceptor:3.1.0') {
|
||
exclude group: 'org.json', module: 'json'
|
||
}
|
||
//EventBus
|
||
implementation 'org.greenrobot:eventbus:3.2.0'
|
||
//多选RecyclerView
|
||
//implementation 'com.lovejjfg.powerrecycle:powerrecycle:2.0.0'
|
||
//图库选择
|
||
implementation 'com.github.LuckSiege.PictureSelector:picture_library:v2.5.6'
|
||
|
||
//UFileSDK
|
||
implementation 'cn.ucloud.ufile:ufile-client-java:2.5.0'
|
||
|
||
//测试用例
|
||
testImplementation 'junit:junit:4.12'
|
||
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
||
}
|