build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 28
  4. defaultConfig {
  5. applicationId "com.mylove.okhttp"
  6. minSdkVersion 15
  7. targetSdkVersion 28
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "android.support.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. }
  26. dependencies {
  27. implementation fileTree(include: ['*.jar'], dir: 'libs')
  28. implementation 'com.android.support:appcompat-v7:28.0.0'
  29. testImplementation 'junit:junit:4.12'
  30. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  31. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  32. implementation project(':okhttplib')
  33. implementation 'com.yanyi.benyanyi:loglib:1.0.3'
  34. implementation 'com.yanyi.benyanyi:permissionlib:1.0.9'
  35. implementation 'io.reactivex.rxjava2:rxjava:2.2.10'
  36. implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
  37. }