build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 27
  4. buildToolsVersion "27.0.3"
  5. defaultConfig {
  6. applicationId "oldking.netdemo"
  7. minSdkVersion 16
  8. targetSdkVersion 27
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. sourceSets {
  20. main {
  21. jniLibs.srcDirs = ['libs']
  22. }
  23. }
  24. }
  25. dependencies {
  26. compile fileTree(dir: 'libs', include: ['*.jar'])
  27. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  28. exclude group: 'com.android.support', module: 'support-annotations'
  29. })
  30. compile 'com.android.support:appcompat-v7:27.0.2'
  31. testCompile 'junit:junit:4.12'
  32. compile 'com.squareup.retrofit2:retrofit:2.3.0'
  33. compile 'com.squareup.retrofit2:converter-gson:2.3.0'
  34. compile 'com.blankj:utilcode:1.16.4'
  35. compile 'com.kaopiz:kprogresshud:1.1.0'
  36. }