build.gradle 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 29
  4. buildToolsVersion "29.0.2"
  5. defaultConfig {
  6. applicationId "com.cnooc.construction.nfc"
  7. minSdkVersion 21
  8. targetSdkVersion 29
  9. versionCode 223
  10. versionName "2.2.3"
  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. lintOptions {
  30. checkReleaseBuilds false
  31. abortOnError false
  32. }
  33. }
  34. repositories {
  35. flatDir {
  36. dirs 'aar'
  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 files('libs\\eco-java-sdk-3.2.2.jar')
  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 'com.github.zhaolewei:ZlwAudioRecorder:v1.08'
  81. implementation 'org.xutils:xutils:3.3.40'
  82. implementation 'com.github.zrunker:ZImageView:v1.0'
  83. }