You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
2.7 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

plugins {
id 'com.android.application'
}
android {
compileSdk 32
viewBinding {
enabled = true
}
defaultConfig {
applicationId "com.android"
minSdk 21
targetSdk 32
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_11
targetCompatibility JavaVersion.VERSION_11
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.6.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
def fragment_version = "1.4.1"
// okhttp
implementation('com.squareup.okhttp3:okhttp:5.0.0-alpha.7')
implementation 'com.google.code.gson:gson:2.9.0'
implementation 'com.github.bumptech.glide:glide:4.13.2'
//rxjava3
implementation 'io.reactivex.rxjava3:rxjava:3.1.1'
implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
implementation 'com.github.liujingxing.rxlife:rxlife-rxjava3:2.2.1' //管理RxJava3生命周期页面销毁关闭请求
//retrofit2
implementation 'com.squareup.retrofit2:retrofit:2.7.0'
implementation 'com.squareup.retrofit2:adapter-rxjava3:2.9.0'
// 支持Gson解析
implementation 'com.squareup.retrofit2:converter-gson:2.1.0'
//lombok
compileOnly 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok:1.18.24'
//material3
implementation 'com.google.android.material:material:1.5.0'
//fragment
implementation "androidx.fragment:fragment:$fragment_version"
//eventbus传递信息
implementation("org.greenrobot:eventbus:3.3.1")
// glide图片加载
implementation 'com.github.bumptech.glide:glide:4.11.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
implementation "androidx.cardview:cardview:1.0.0"
// PictureSelector
// PictureSelector 基础 (必须)
implementation 'io.github.lucksiege:pictureselector:v3.10.2'
// 图片压缩 (按需引入)
implementation 'io.github.lucksiege:compress:v3.10.2'
// 自定义相机 (按需引入)
implementation 'io.github.lucksiege:camerax:v3.10.2'
// api 'io.github.lucksiege:pictureselector:v2.7.3-rc05'
}