93 lines
2.9 KiB
Groovy
93 lines
2.9 KiB
Groovy
|
|
plugins {
|
||
|
|
id 'com.android.library'
|
||
|
|
id 'org.jetbrains.kotlin.android'
|
||
|
|
}
|
||
|
|
|
||
|
|
android {
|
||
|
|
compileSdkVersion 30
|
||
|
|
buildToolsVersion "30.0.0"
|
||
|
|
namespace "com.app.longguan.baselibrary"
|
||
|
|
defaultConfig {
|
||
|
|
minSdkVersion 19
|
||
|
|
targetSdkVersion 33
|
||
|
|
versionCode 1
|
||
|
|
versionName "1.0"
|
||
|
|
|
||
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
|
consumerProguardFiles "consumer-rules.pro"
|
||
|
|
}
|
||
|
|
|
||
|
|
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 {
|
||
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
|
||
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
||
|
|
|
||
|
|
implementation 'androidx.appcompat:appcompat:1.2.0'
|
||
|
|
implementation 'com.google.android.material:material:1.2.1'
|
||
|
|
|
||
|
|
//https://github.com/bumptech/glide
|
||
|
|
api 'com.github.bumptech.glide:glide:4.11.0'
|
||
|
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
|
||
|
|
//https://github.com/square/retrofit
|
||
|
|
//https://github.com/square/okhttp
|
||
|
|
api 'com.squareup.retrofit2:retrofit:2.3.0'
|
||
|
|
// implementation 'com.squareup.okhttp3:okhttp:4.4.0'
|
||
|
|
api 'com.squareup.retrofit2:converter-gson:2.3.0'
|
||
|
|
api 'org.conscrypt:conscrypt-android:2.2.1'
|
||
|
|
//https://github.com/ReactiveX/RxJava
|
||
|
|
//
|
||
|
|
api 'io.reactivex.rxjava2:rxjava:2.2.19'
|
||
|
|
api 'io.reactivex.rxjava2:rxandroid:2.1.1'
|
||
|
|
api 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
|
||
|
|
|
||
|
|
|
||
|
|
//图片选择 https://github.com/zhihu/Matisse
|
||
|
|
api 'com.zhihu.android:matisse:0.5.3-beta3'
|
||
|
|
|
||
|
|
//https://github.com/LuckSiege/PictureSelector/blob/version_component/README_CN.md
|
||
|
|
|
||
|
|
// PictureSelector 基础 (必须)
|
||
|
|
api 'io.github.lucksiege:pictureselector:v3.0.9'
|
||
|
|
|
||
|
|
// 图片压缩 (按需引入)
|
||
|
|
// implementation 'io.github.lucksiege:compress:v3.0.9'
|
||
|
|
|
||
|
|
// 图片裁剪 (按需引入)
|
||
|
|
// implementation 'io.github.lucksiege:ucrop:v3.0.9'
|
||
|
|
|
||
|
|
// 自定义相机 (按需引入)
|
||
|
|
api 'io.github.lucksiege:camerax:v3.0.9'
|
||
|
|
|
||
|
|
//https://github.com/Bigkoo/Android-PickerView
|
||
|
|
api 'com.contrarywind:Android-PickerView:4.1.9'
|
||
|
|
|
||
|
|
//pingyin
|
||
|
|
// api 'com.github.promeg:tinypinyin:1.0.0'
|
||
|
|
//阿里云 oos
|
||
|
|
// api 'com.aliyun.dpa:oss-android-sdk:+'
|
||
|
|
|
||
|
|
|
||
|
|
//权限管理 https://github.com/guolindev/PermissionX
|
||
|
|
api 'com.guolindev.permissionx:permissionx:1.5.0'
|
||
|
|
|
||
|
|
//图片压缩 https://gitee.com/ling-heng/Luban?_from=gitee_search
|
||
|
|
// api 'top.zibin:Luban:1.1.8'
|
||
|
|
|
||
|
|
//https://github.com/liangjingkanji/StateLayout
|
||
|
|
api 'com.github.liangjingkanji:StateLayout:1.2.0'
|
||
|
|
api 'androidx.core:core:1.6.0'
|
||
|
|
api "org.jetbrains.kotlin:kotlin-stdlib:1.8.10"
|
||
|
|
//https://github.com/ljphawk/SwipeMenuLayout
|
||
|
|
implementation 'com.github.ljphawk:SwipeMenuLayout:1.05'
|
||
|
|
}
|