12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 29
- buildToolsVersion "29.0.3"
- defaultConfig {
- minSdkVersion 19
- targetSdkVersion 29
- versionCode 20210813
- versionName "5.1.4.1"
- buildConfigField "String", "IMSDK_VER", "${IMSDK_VER}"
- vectorDrawables.useSupportLibrary = true
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- consumerProguardFiles 'consumer-rules.pro'
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- sourceSets {
- main {
- jniLibs.srcDirs = ['libs']
- }
- }
- }
- dependencies {
- api fileTree(include: ['*.jar'], dir: 'libs')
- api project(':rong_im:im_lib')
- implementation project(':BaseLibrary')
- implementation project(':usercenter')
- //基础布局
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.fragment:fragment:1.2.5'
- implementation 'androidx.recyclerview:recyclerview:1.1.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- api 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
- api "androidx.viewpager2:viewpager2:1.1.0-alpha01"
- // content 协议头处理
- api "androidx.documentfile:documentfile:1.0.1"
- //本地广播
- api 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
- //数据存储
- api "androidx.room:room-runtime:2.2.5"
- annotationProcessor "androidx.room:room-compiler:2.2.5"
- //图片加载
- implementation 'com.github.bumptech.glide:glide:4.11.0'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test.ext:junit:1.1.1'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
- }
|