您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

3 年前
3 年前
3 年前
3 年前
3 年前
3 年前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdkVersion 30
  6. buildToolsVersion "30.0.3"
  7. defaultConfig {
  8. applicationId "com.example.tidalairpeisong"
  9. minSdkVersion 19
  10. targetSdkVersion 30
  11. versionCode 1
  12. versionName "1.0"
  13. multiDexEnabled true
  14. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  15. javaCompileOptions {
  16. annotationProcessorOptions {
  17. arguments = [
  18. //使用asXxx方法时必须,传入你依赖的RxJava版本
  19. rxhttp_rxjava: '3.1.1',
  20. ]
  21. }
  22. }
  23. }
  24. buildTypes {
  25. release {
  26. minifyEnabled false
  27. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  28. }
  29. }
  30. compileOptions {
  31. sourceCompatibility JavaVersion.VERSION_1_8
  32. targetCompatibility JavaVersion.VERSION_1_8
  33. }
  34. signingConfigs {
  35. debug {
  36. keyAlias 'TidalAir'
  37. keyPassword '123456'
  38. storeFile file('configure/TidalAir.jks')
  39. storePassword '123456'
  40. }
  41. release {
  42. keyAlias 'TidalAir'
  43. keyPassword '123456'
  44. storeFile file('configure/TidalAir.jks')
  45. storePassword '123456'
  46. }
  47. }
  48. }
  49. dependencies {
  50. implementation 'androidx.appcompat:appcompat:1.2.0'
  51. implementation 'com.google.android.material:material:1.2.1'
  52. implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
  53. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  54. testImplementation 'junit:junit:4.+'
  55. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  56. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  57. implementation 'com.squareup.okhttp3:okhttp:4.9.1'
  58. implementation 'com.github.liujingxing.rxhttp:rxhttp:2.6.8'
  59. annotationProcessor 'com.github.liujingxing.rxhttp:rxhttp-compiler:2.6.8' //生成RxHttp类,纯Java项目,请使用annotationProcessor代替kapt
  60. //rxjava2
  61. // implementation 'io.reactivex.rxjava2:rxjava:2.2.8'
  62. // implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
  63. // implementation 'com.github.liujingxing.rxlife:rxlife-rxjava2:2.2.1' //管理RxJava2生命周期,页面销毁,关闭请求
  64. //rxjava3
  65. implementation 'io.reactivex.rxjava3:rxjava:3.1.1'
  66. implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
  67. implementation 'com.github.liujingxing.rxlife:rxlife-rxjava3:2.2.1' //管理RxJava3生命周期,页面销毁,关闭请求
  68. implementation 'androidx.multidex:multidex:2.0.1'
  69. implementation 'com.squareup.retrofit2:retrofit:2.9.0'
  70. //日志的拦截器
  71. implementation 'com.squareup.okhttp3:logging-interceptor:4.9.2'
  72. //SmartRefreshLayout
  73. implementation 'com.scwang.smart:refresh-layout-kernel:2.0.3' //核心必须依赖
  74. implementation 'com.scwang.smart:refresh-header-classics:2.0.3' //经典刷新头
  75. implementation 'com.scwang.smart:refresh-footer-ball:2.0.3' //球脉冲加载
  76. //glide
  77. implementation 'com.github.bumptech.glide:glide:4.12.0'
  78. //butterknife
  79. implementation 'com.jakewharton:butterknife:10.2.1'
  80. annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.1'
  81. //圆角图
  82. implementation 'com.makeramen:roundedimageview:2.3.0'
  83. //圆形图
  84. implementation 'de.hdodenhof:circleimageview:3.1.0'
  85. //BaseRecyclerViewAdapterHelper
  86. implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4'
  87. //EasySwipeMenuLayout
  88. implementation 'com.github.anzaizai:EasySwipeMenuLayout:1.1.4'
  89. //定位
  90. implementation 'com.amap.api:location:4.9.0'
  91. //搜索
  92. implementation 'com.amap.api:search:7.3.0'
  93. //3D地图
  94. implementation 'com.amap.api:3dmap:7.4.0'
  95. //权限
  96. implementation 'com.yanzhenjie:permission:2.0.3'
  97. //tablaytout
  98. implementation 'com.github.hackware1993:MagicIndicator:1.5.0'
  99. implementation 'io.github.h07000223:flycoTabLayout:3.0.0'
  100. //eventbus
  101. implementation 'org.greenrobot:eventbus:3.2.0'
  102. //pictureselector
  103. implementation 'io.github.lucksiege:pictureselector:v2.7.3-rc08'
  104. }