build.gradle 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 29
  4. buildToolsVersion "29.0.2"
  5. defaultConfig {
  6. applicationId "com.gnhz.skdev"
  7. minSdkVersion 21
  8. targetSdkVersion 29
  9. versionCode 15
  10. versionName "1.0.15"
  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. }
  30. repositories {
  31. flatDir {
  32. dirs 'aar'
  33. }
  34. }
  35. dependencies {
  36. implementation fileTree(dir: 'libs', include: ['*.jar'])
  37. implementation 'androidx.appcompat:appcompat:1.0.2'
  38. implementation 'com.google.android.material:material:1.0.0'
  39. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  40. implementation 'androidx.navigation:navigation-fragment:2.0.0'
  41. implementation 'androidx.navigation:navigation-ui:2.0.0'
  42. implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'
  43. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  44. implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.2.0'
  45. implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0'
  46. implementation project(path: ':LRecyclerview_library')
  47. testImplementation 'junit:junit:4.12'
  48. androidTestImplementation 'androidx.test.ext:junit:1.1.0'
  49. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
  50. implementation group: 'io.reactivex.rxjava2', name: 'rxjava', version: '2.2.14'
  51. implementation group: 'io.reactivex.rxjava2', name: 'rxandroid', version: '2.1.1'
  52. implementation group: 'com.orhanobut', name: 'logger', version: '2.2.0'
  53. implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.2.2'
  54. implementation group: 'com.squareup.retrofit2', name: 'retrofit', version: '2.6.2'
  55. implementation group: 'com.squareup.okhttp3', name: 'logging-interceptor', version: '4.2.2'
  56. implementation group: 'com.squareup.retrofit2', name: 'adapter-rxjava', version: '2.6.2'
  57. implementation group: 'com.squareup.retrofit2', name: 'converter-gson', version: '2.6.2'
  58. implementation group: 'com.facebook.stetho', name: 'stetho', version: '1.5.1'
  59. implementation group: 'com.facebook.stetho', name: 'stetho-okhttp3', version: '1.5.1'
  60. implementation group: 'com.jakewharton', name: 'disklrucache', version: '2.0.2'
  61. implementation group: 'com.google.zxing', name: 'core', version: '3.4.0'
  62. implementation 'androidx.appcompat:appcompat:1.0.2'
  63. implementation group: 'com.github.bumptech.glide', name: 'glide', version: '4.10.0'
  64. implementation group: 'com.danikula', name: 'videocache', version: '2.7.0'
  65. implementation 'com.google.android.exoplayer:exoplayer:2.9.1'
  66. implementation 'androidx.multidex:multidex:2.0.0'
  67. implementation 'tv.danmaku.ijk.media:ijkplayer-java:0.8.8'
  68. implementation 'tv.danmaku.ijk.media:ijkplayer-armv7a:0.8.4'
  69. implementation project(path: ':LRecyclerView')
  70. api 'com.android.support:support-annotations:20.0.0'
  71. implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
  72. implementation 'com.android.volley:volley:1.2.1'
  73. implementation 'com.afollestad.material-dialogs:core:0.9.6.0'
  74. implementation 'com.github.donkingliang:ImageSelector:2.2.0'
  75. implementation 'com.github.zhaolewei:ZlwAudioRecorder:v1.08'
  76. implementation 'org.xutils:xutils:3.3.40'
  77. implementation 'com.github.zrunker:ZImageView:v1.0'
  78. }