build.gradle 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 29
  4. buildToolsVersion "29.0.2"
  5. defaultConfig {
  6. applicationId "com.cnooc.construction"
  7. minSdkVersion 21
  8. targetSdkVersion 29
  9. versionCode 11
  10. versionName "1.0.11"
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. multiDexEnabled true
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. sourceSets {
  25. main {
  26. res.srcDirs = ['src/main/res', 'src/main/res/drawable-xhdpi']
  27. }
  28. }
  29. viewBinding {
  30. enabled true
  31. }
  32. }
  33. repositories {
  34. flatDir {
  35. dirs 'aar'
  36. }
  37. }
  38. dependencies {
  39. implementation fileTree(dir: 'libs', include: ['*.jar'])
  40. implementation 'androidx.appcompat:appcompat:1.0.2'
  41. implementation 'com.google.android.material:material:1.0.0'
  42. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  43. implementation 'androidx.navigation:navigation-fragment:2.0.0'
  44. implementation 'androidx.navigation:navigation-ui:2.0.0'
  45. implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
  46. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  47. implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.2.0'
  48. implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0'
  49. implementation project(path: ':LRecyclerview_library')
  50. implementation 'androidx.annotation:annotation:1.2.0'
  51. implementation 'androidx.constraintlayout:constraintlayout-core:1.0.0-beta03'
  52. testImplementation 'junit:junit:4.12'
  53. androidTestImplementation 'androidx.test.ext:junit:1.1.0'
  54. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
  55. implementation group: 'io.reactivex.rxjava2', name: 'rxjava', version: '2.2.14'
  56. implementation group: 'io.reactivex.rxjava2', name: 'rxandroid', version: '2.1.1'
  57. implementation group: 'com.orhanobut', name: 'logger', version: '2.2.0'
  58. implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.2.2'
  59. implementation group: 'com.squareup.retrofit2', name: 'retrofit', version: '2.6.2'
  60. implementation group: 'com.squareup.okhttp3', name: 'logging-interceptor', version: '4.2.2'
  61. implementation group: 'com.squareup.retrofit2', name: 'adapter-rxjava', version: '2.6.2'
  62. implementation group: 'com.squareup.retrofit2', name: 'converter-gson', version: '2.6.2'
  63. implementation group: 'com.facebook.stetho', name: 'stetho', version: '1.5.1'
  64. implementation group: 'com.facebook.stetho', name: 'stetho-okhttp3', version: '1.5.1'
  65. implementation group: 'com.jakewharton', name: 'disklrucache', version: '2.0.2'
  66. implementation group: 'com.google.zxing', name: 'core', version: '3.4.0'
  67. implementation 'androidx.appcompat:appcompat:1.0.2'
  68. implementation group: 'com.github.bumptech.glide', name: 'glide', version: '4.10.0'
  69. implementation group: 'com.danikula', name: 'videocache', version: '2.7.0'
  70. implementation 'com.google.android.exoplayer:exoplayer:2.9.1'
  71. implementation 'androidx.multidex:multidex:2.0.0'
  72. implementation 'tv.danmaku.ijk.media:ijkplayer-java:0.8.8'
  73. implementation 'tv.danmaku.ijk.media:ijkplayer-armv7a:0.8.4'
  74. implementation project(path: ':LRecyclerView')
  75. api 'com.android.support:support-annotations:20.0.0'
  76. implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
  77. implementation 'com.android.volley:volley:1.2.1'
  78. implementation 'com.afollestad.material-dialogs:core:0.9.6.0'
  79. implementation 'com.github.donkingliang:ImageSelector:2.2.0'
  80. implementation 'org.xutils:xutils:3.3.40'
  81. implementation 'com.github.huangyanbin:SmartTable:2.2.0'
  82. implementation group: 'net.sourceforge.jexcelapi', name: 'jxl', version: '2.6.12'
  83. implementation 'com.github.zzy0516alex:FileSelectorRelease:v6.1'
  84. // implementation 'org.apache.poi:poi:3.17'
  85. // implementation 'org.apache.poi:poi-ooxml:3.17'
  86. implementation 'com.github.zrunker:ZImageView:v1.0'
  87. }