date:2021-10-08 20:52:24

This commit is contained in:
2021-10-08 20:52:31 +08:00
parent 2884e4924e
commit 35a4881e96
2 changed files with 52 additions and 12 deletions

View File

@@ -219,9 +219,16 @@ dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"]) implementation fileTree(dir: "libs", include: ["*.jar"])
implementation project(':viewlibrary') implementation project(':viewlibrary')
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation 'androidx.core:core-ktx:1.1.0' implementation 'androidx.core:core-ktx:1.6.0'
implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3' //constraintlayout:2.0.4以上在Android studio 3.6.2不能预览
// implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
implementation 'androidx.preference:preference:1.1.1'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation "androidx.security:security-crypto:1.1.0-alpha03"
testImplementation 'junit:junit:4.12' testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
@@ -229,15 +236,15 @@ dependencies {
//极光推送 //极光推送
implementation 'cn.jiguang.sdk:jpush:3.8.6' // 此处以JPush 3.7.0 版本为例。 implementation 'cn.jiguang.sdk:jpush:3.8.6' // 此处以JPush 3.7.0 版本为例。
implementation 'cn.jiguang.sdk:jcore:2.6.0' // 此处以JCore 2.4.2 版本为例。 implementation 'cn.jiguang.sdk:jcore:2.6.0' // 此处以JCore 2.4.2 版本为例。
//okhttp //RxJava
implementation 'com.squareup.okhttp3:okhttp:4.6.0'
//RxJava和Retrofit
implementation 'io.reactivex.rxjava2:rxjava:2.2.5' implementation 'io.reactivex.rxjava2:rxjava:2.2.5'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.0' implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
//okhttp
implementation 'com.squareup.okhttp3:okhttp:4.6.0'
//Retrofit
implementation 'com.squareup.retrofit2:retrofit:2.3.0' implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0' implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0' implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
////json解析
//Gson //Gson
implementation 'com.google.code.gson:gson:2.8.6' implementation 'com.google.code.gson:gson:2.8.6'
//Jackson //Jackson
@@ -248,10 +255,11 @@ dependencies {
annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0' annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0'
//二维码 //二维码
implementation 'com.google.zxing:core:3.3.0' implementation 'com.google.zxing:core:3.3.0'
implementation 'com.google.android.material:material:1.4.0'
//个人 //MMKV
//更换字体框架 implementation 'com.tencent:mmkv-static:1.2.10'
implementation 'uk.co.chrisjenx:calligraphy:2.3.0' //内存泄漏检测
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.7'
////图片加载框架 ////图片加载框架
//Glide //Glide
implementation 'com.github.bumptech.glide:glide:4.11.0' implementation 'com.github.bumptech.glide:glide:4.11.0'
@@ -260,8 +268,34 @@ dependencies {
implementation 'com.facebook.fresco:fresco:2.2.0' implementation 'com.facebook.fresco:fresco:2.2.0'
//Picasso //Picasso
implementation 'com.squareup.picasso:picasso:2.71828' implementation 'com.squareup.picasso:picasso:2.71828'
//个人
//utilcode工具类
implementation 'com.blankj:utilcodex:1.30.6'
//更换字体框架
implementation 'uk.co.chrisjenx:calligraphy:2.3.0'
//屏幕适配方案 //屏幕适配方案
//https://github.com/JessYanCoding/AndroidAutoSize //https://github.com/JessYanCoding/AndroidAutoSize
implementation 'me.jessyan:autosize:1.2.1' implementation 'me.jessyan:autosize:1.2.1'
//滑动关闭当前 Activity
implementation 'com.r0adkll:slidableactivity:2.1.0'
//圆角
implementation 'de.hdodenhof:circleimageview:2.2.0'
//圆角ImageView
implementation 'com.github.zane618:NiceImageView:1.0.0'
// 权限请求框架https://github.com/getActivity/XXPermissions
implementation 'com.github.getActivity:XXPermissions:12.3'
//动态权限框架
implementation 'com.yanzhenjie:permission:2.0.3'
//沉浸状态栏
implementation 'com.gitee.zackratos:UltimateBarX:0.7.1'
implementation 'com.gyf.barlibrary:barlibrary:2.2.8'
// // 基础依赖包,必须要依赖
// implementation 'com.gyf.immersionbar:immersionbar:3.0.0'
// // fragment快速实现可选
// implementation 'com.gyf.immersionbar:immersionbar-components:3.0.0'
// // kotlin扩展可选
// implementation 'com.gyf.immersionbar:immersionbar-ktx:3.0.0'
} }

View File

@@ -4,6 +4,9 @@ buildscript {
repositories { repositories {
google() google()
jcenter() jcenter()
maven {
url "https://jitpack.io"
}
} }
dependencies { dependencies {
classpath "com.android.tools.build:gradle:3.6.4" classpath "com.android.tools.build:gradle:3.6.4"
@@ -18,6 +21,9 @@ allprojects {
repositories { repositories {
google() google()
jcenter() jcenter()
maven {
url "https://jitpack.io"
}
} }
} }