123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 30
- buildToolsVersion "30.0.3"
- defaultConfig {
- minSdkVersion 19
- targetSdkVersion 30
- 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'
- }
- }
- }
- dependencies {
- api fileTree(dir: 'libs', include: ['*.jar'])
- api 'androidx.appcompat:appcompat:1.3.0'
- testImplementation 'junit:junit:4.12'
- androidTestImplementation 'androidx.test.ext:junit:1.1.0'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
- api 'com.yanzhenjie:permission:2.0.3'
- annotationProcessor 'org.projectlombok:lombok:1.18.16'
- api 'org.projectlombok:lombok:1.18.16' //添加lombok依赖
- api 'com.jakewharton:butterknife:10.0.0'
- annotationProcessor 'com.jakewharton:butterknife-compiler:10.0.0'
- api 'androidx.appcompat:appcompat:1.3.0'
- api 'androidx.constraintlayout:constraintlayout:2.0.4'
- api 'androidx.legacy:legacy-support-v4:1.0.0'
- api 'androidx.recyclerview:recyclerview:1.1.0'
- api 'androidx.recyclerview:recyclerview-selection:1.0.0'
- api 'androidx.cardview:cardview:1.0.0'
- //okhttp3
- api 'com.squareup.okhttp3:okhttp:4.2.2'
- api 'com.squareup.okhttp3:logging-interceptor:4.2.2'
- //retrofit2
- api 'com.squareup.retrofit2:retrofit:2.6.2'
- api 'com.squareup.retrofit2:converter-gson:2.6.2'
- api 'com.squareup.retrofit2:adapter-rxjava2:2.6.0'
- api 'com.squareup.retrofit2:converter-scalars:2.0.0'
- //导入scalars包
- //rxjava2
- api 'io.reactivex.rxjava2:rxjava:2.2.15'
- api 'io.reactivex.rxjava2:rxandroid:2.1.1'
- api 'com.yanzhenjie:album:2.1.3'
- api 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.37'
- api 'com.google.code.gson:gson:2.8.6'
- api 'com.github.bumptech.glide:glide:4.11.0'
- api 'me.weyye.hipermission:library:1.0.7'
- api 'com.google.android.material:material:1.3.0'
- api 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-28'
- api 'com.scwang.smartrefresh:SmartRefreshHeader:1.1.0-alpha-28'
- api 'com.scwang.smartrefresh:SmartRefreshHorizontal:1.0.0-beta-1'
- // api 'org.greenrobot:eventbus:3.1.1'
- api 'pub.devrel:easypermissions:1.3.0'
- api project(path: ':autosize')
- api 'com.gyf.immersionbar:immersionbar:3.0.0-beta05'
- }
|