build.gradle 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. buildTypes {
  14. debug {
  15. // buildConfigField "boolean", "LOG_DEBUG", "true"
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  18. }
  19. release {
  20. // buildConfigField "boolean", "LOG_DEBUG", "false"
  21. minifyEnabled false
  22. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  23. }
  24. }
  25. lintOptions {
  26. abortOnError false
  27. }
  28. }
  29. dependencies {
  30. implementation fileTree(include: ['*.jar'], dir: 'libs')
  31. implementation 'androidx.appcompat:appcompat:1.2.0'
  32. testImplementation 'junit:junit:4.13'
  33. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  34. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  35. // implementation project(':okhttplib')
  36. implementation 'com.yanyi.benyanyi:Logger:1.0.5'
  37. implementation 'com.yanyi.benyanyi:permissionlib:1.0.9'
  38. implementation 'io.reactivex.rxjava2:rxjava:2.2.10'
  39. implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
  40. implementation 'org.greenrobot:eventbus:3.1.1'
  41. implementation 'com.google.code.gson:gson:2.8.7'
  42. implementation project(path: ':okhttplib')
  43. }