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. debug {
  21. storeFile file("kth_android_key.jks")
  22. storePassword "jxkthfinger"
  23. keyAlias "jxkth"
  24. keyPassword "jxkthfinger"
  25. }
  26. }
  27. buildTypes {
  28. release {
  29. minifyEnabled false
  30. signingConfig signingConfigs.release
  31. proguardFiles getDefaultProguardFile('proguard-android.txt'), project.file('proguard-rules.pro')
  32. }
  33. debug {
  34. debuggable true
  35. minifyEnabled false
  36. signingConfig signingConfigs.debug
  37. }
  38. }
  39. lintOptions {
  40. abortOnError false
  41. }
  42. }
  43. dependencies {
  44. implementation fileTree(include: ['*.jar'], dir: 'libs')
  45. implementation 'androidx.appcompat:appcompat:1.2.0'
  46. testImplementation 'junit:junit:4.13'
  47. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  48. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  49. // implementation project(':okhttplib')
  50. implementation 'com.yanyi.benyanyi:Logger:1.1.3'
  51. implementation 'com.yanyi.benyanyi:PermissionHelper:1.1.8'
  52. implementation 'io.reactivex.rxjava2:rxjava:2.2.10'
  53. implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
  54. implementation 'org.greenrobot:eventbus:3.1.1'
  55. implementation 'com.google.code.gson:gson:2.8.7'
  56. implementation project(path: ':okhttplib')
  57. }