build.gradle 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 29
  4. defaultConfig {
  5. applicationId "com.mylove.okhttp"
  6. minSdkVersion 15
  7. targetSdkVersion 29
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  11. multiDexEnabled true
  12. }
  13. // signingConfigs {
  14. // release {
  15. // storeFile file("kth_android_key.jks")
  16. // storePassword "jxkthfinger"
  17. // keyAlias "jxkth"
  18. // keyPassword "jxkthfinger"
  19. // }
  20. //
  21. // debug {
  22. // storeFile file("kth_android_key.jks")
  23. // storePassword "jxkthfinger"
  24. // keyAlias "jxkth"
  25. // keyPassword "jxkthfinger"
  26. // }
  27. // }
  28. buildTypes {
  29. release {
  30. minifyEnabled false
  31. // signingConfig signingConfigs.release
  32. proguardFiles getDefaultProguardFile('proguard-android.txt'), project.file('proguard-rules.pro')
  33. }
  34. debug {
  35. debuggable true
  36. minifyEnabled false
  37. // signingConfig signingConfigs.debug
  38. }
  39. }
  40. lintOptions {
  41. abortOnError false
  42. }
  43. }
  44. dependencies {
  45. implementation fileTree(include: ['*.jar'], dir: 'libs')
  46. implementation 'androidx.appcompat:appcompat:1.2.0'
  47. testImplementation 'junit:junit:4.13'
  48. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  49. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  50. // implementation project(':okhttplib')
  51. implementation 'com.yanyi.benyanyi:Logger:1.1.3'
  52. implementation 'com.yanyi.benyanyi:PermissionHelper:1.1.8'
  53. implementation 'io.reactivex.rxjava2:rxjava:2.2.10'
  54. implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
  55. implementation 'org.greenrobot:eventbus:3.1.1'
  56. implementation 'com.google.code.gson:gson:2.8.7'
  57. implementation project(path: ':okhttplib')
  58. }