build.gradle 4.1 KB

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