build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 26
  4. defaultConfig {
  5. applicationId "com.mylove.okhttp"
  6. minSdkVersion 14
  7. targetSdkVersion 26
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. debug {
  14. buildConfigField "boolean", "LOG_DEBUG", "true"
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  17. }
  18. release {
  19. buildConfigField "boolean", "LOG_DEBUG", "false"
  20. minifyEnabled false
  21. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  22. }
  23. }
  24. }
  25. dependencies {
  26. implementation fileTree(include: ['*.jar'], dir: 'libs')
  27. implementation 'com.android.support:appcompat-v7:26.1.0'
  28. testImplementation 'junit:junit:4.12'
  29. androidTestImplementation 'com.android.support.test:runner:1.0.1'
  30. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
  31. compile project(':okhttp2')
  32. }