|
- plugins {
- id 'com.android.application'
- }
-
- android {
- compileSdkVersion 30
- buildToolsVersion "30.0.3"
- defaultConfig {
- applicationId "com.example.tidalairpeisong"
- minSdkVersion 19
- targetSdkVersion 30
- versionCode 1
- versionName "1.0"
-
- multiDexEnabled true
-
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
-
- javaCompileOptions {
- annotationProcessorOptions {
- arguments = [
- //使用asXxx方法时必须,传入你依赖的RxJava版本
- rxhttp_rxjava: '3.1.1',
- ]
- }
- }
- }
-
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
-
- signingConfigs {
-
- debug {
- keyAlias 'TidalAir'
- keyPassword '123456'
- storeFile file('configure/TidalAir.jks')
- storePassword '123456'
- }
-
- release {
- keyAlias 'TidalAir'
- keyPassword '123456'
- storeFile file('configure/TidalAir.jks')
- storePassword '123456'
- }
- }
- }
-
- dependencies {
-
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'com.google.android.material:material:1.2.1'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
- implementation 'androidx.legacy:legacy-support-v4:1.0.0'
- testImplementation 'junit:junit:4.+'
- androidTestImplementation 'androidx.test.ext:junit:1.1.2'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
-
- implementation 'com.squareup.okhttp3:okhttp:4.9.1'
- implementation 'com.github.liujingxing.rxhttp:rxhttp:2.6.8'
- annotationProcessor 'com.github.liujingxing.rxhttp:rxhttp-compiler:2.6.8' //生成RxHttp类,纯Java项目,请使用annotationProcessor代替kapt
- //rxjava2
- // implementation 'io.reactivex.rxjava2:rxjava:2.2.8'
- // implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
- // implementation 'com.github.liujingxing.rxlife:rxlife-rxjava2:2.2.1' //管理RxJava2生命周期,页面销毁,关闭请求
-
- //rxjava3
- implementation 'io.reactivex.rxjava3:rxjava:3.1.1'
- implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
- implementation 'com.github.liujingxing.rxlife:rxlife-rxjava3:2.2.1' //管理RxJava3生命周期,页面销毁,关闭请求
-
- implementation 'androidx.multidex:multidex:2.0.1'
- implementation 'com.squareup.retrofit2:retrofit:2.9.0'
- //日志的拦截器
- implementation 'com.squareup.okhttp3:logging-interceptor:4.9.2'
- //SmartRefreshLayout
- implementation 'com.scwang.smart:refresh-layout-kernel:2.0.3' //核心必须依赖
- implementation 'com.scwang.smart:refresh-header-classics:2.0.3' //经典刷新头
- implementation 'com.scwang.smart:refresh-footer-ball:2.0.3' //球脉冲加载
- //glide
- implementation 'com.github.bumptech.glide:glide:4.12.0'
- //butterknife
- implementation 'com.jakewharton:butterknife:10.2.1'
- annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1'
- //圆角图
- implementation 'com.makeramen:roundedimageview:2.3.0'
- //圆形图
- implementation 'de.hdodenhof:circleimageview:3.1.0'
- //BaseRecyclerViewAdapterHelper
- implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4'
- //EasySwipeMenuLayout
- implementation 'com.github.anzaizai:EasySwipeMenuLayout:1.1.4'
- //定位
- implementation 'com.amap.api:location:4.9.0'
- //搜索
- implementation 'com.amap.api:search:7.3.0'
- //3D地图
- implementation 'com.amap.api:3dmap:7.4.0'
- //权限
- implementation 'com.yanzhenjie:permission:2.0.3'
- //tablaytout
- implementation 'com.github.hackware1993:MagicIndicator:1.5.0'
- implementation 'io.github.h07000223:flycoTabLayout:3.0.0'
- //eventbus
- implementation 'org.greenrobot:eventbus:3.2.0'
- //pictureselector
- implementation 'io.github.lucksiege:pictureselector:v2.7.3-rc08'
- }
|