apply plugin: 'com.android.library' android { namespace "com.tfq.library" compileSdkVersion 34 defaultConfig { minSdkVersion 21 targetSdkVersion 34 } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } } dependencies { // api 'androidx.constraintlayout:constraintlayout:1.1.3' api 'androidx.appcompat:appcompat:1.7.0' api 'com.google.android.material:material:1.11.0' // api 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' // api 'androidx.core:core-ktx:1.10.1' testImplementation 'junit:junit:4.13.2' androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' //沉浸式 api 'com.gyf.immersionbar:immersionbar:3.0.0-beta05' //权限请求 api 'com.github.getActivity:XXPermissions:18.63' api 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.28' api 'androidx.activity:activity:1.8.0' api 'com.google.code.gson:gson:2.10.1' api 'com.alibaba:fastjson:1.2.55' //网络请求 api 'com.squareup.okhttp3:okhttp:3.4.2' api 'com.squareup.okhttp3:logging-interceptor:3.5.0' //图片加载 api 'com.github.bumptech.glide:glide:3.7.0' api 'com.google.android:flexbox:0.3.1' api 'com.github.bumptech.glide:glide:4.14.1' annotationProcessor 'com.github.bumptech.glide:compiler:4.14.1' // Glide图形转换工具 api 'jp.wasabeef:glide-transformations:2.0.1' // 吐司框架:https://github.com/getActivity/Toaster api 'com.github.getActivity:Toaster:12.8' //高斯模糊效果 api 'com.github.centerzx:ShapeBlurView:1.0.5' }