apply plugin: 'com.android.library' apply plugin: 'com.jakewharton.butterknife' android { compileSdkVersion rootProject.ext.compileSdkVersion aaptOptions.cruncherEnabled = false aaptOptions.useNewCruncher = false defaultConfig { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 versionName "1.0" vectorDrawables.useSupportLibrary = true testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles 'consumer-rules.pro' } packagingOptions { exclude 'META-INF/library_release.kotlin_module' } buildTypes { release { minifyEnabled true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } repositories { flatDir { dirs 'libs' } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.appcompat:appcompat:1.1.0' api 'com.android.support:design:29.0.0' api 'androidx.recyclerview:recyclerview:1.1.0' api 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.1' api 'com.lxj:xpopup:1.8.13' api 'com.jakewharton:butterknife:10.2.1' annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1' api 'org.greenrobot:eventbus:3.2.0' //textview超链接处理 api 'com.github.CarGuo.RickText:textUtilsLib:v2.1.5' //文本点击渲染 https://github.com/klinker24/Android-TextView-LinkBuilder api 'com.klinkerapps:link_builder:2.0.5' api 'androidx.multidex:multidex:2.0.1' //快速分组侧边栏 https://github.com/saiwu-bigkoo/Android-QuickSideBar api 'com.bigkoo:quicksidebar:1.0.3' //网络 api 'com.lzy.net:okgo:3.0.4' api 'com.lzy.net:okrx2:2.0.2' api 'com.lzy.net:okserver:2.0.5' api 'com.alibaba:fastjson:1.1.71.android' //动态权限 api 'com.tbruyelle.rxpermissions2:rxpermissions:0.9.5@aar' //圆角图片 api 'com.makeramen:roundedimageview:2.3.0'//glide api("com.github.bumptech.glide:glide:4.9.0@aar") { transitive = true } annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0' //https://github.com/zhihu/Matisse api 'com.zhihu.android:matisse:0.5.2-beta2' //汉字转拼音 https://github.com/promeG/TinyPinyin api 'com.github.promeg:tinypinyin:2.0.3' //刷新 api 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0' //没有使用特殊Header,可以不加这行 api 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0' api 'com.github.ybq:Android-SpinKit:1.4.0' //tablayout api 'com.github.hackware1993:MagicIndicator:1.5.0' //二维码扫描 api 'cn.yipianfengye.android:zxing-library:2.2' api 'com.squareup.retrofit2:retrofit:2.9.0' implementation ('com.squareup.retrofit2:converter-gson:2.3.0'){ exclude group : 'com.google.code.gson' } implementation 'com.squareup.retrofit2:converter-gson:2.3.0' api "com.squareup.okhttp3:logging-interceptor:3.6.0" api "com.squareup.retrofit2:adapter-rxjava2:2.3.0" api "io.reactivex.rxjava2:rxjava:2.2.19" api "io.reactivex.rxjava2:rxandroid:2.0.2" //imaoIm库 api 'com.limao.im.limaoimlib:LiMaoImLib:1.0.1' // api 'com.limao.im.limaoimlib:LiMaoImLib:1.0.0' // api 'com.limao.im.limaoimlib:LiMaoImLib:1.1.0' }