build.gradle 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdkVersion 28
  6. defaultConfig {
  7. applicationId "com.sunwin.visitorapp"
  8. minSdkVersion 17
  9. targetSdkVersion 26
  10. versionCode 1
  11. versionName "1.0"
  12. vectorDrawables.useSupportLibrary = true
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. compileOptions {
  22. sourceCompatibility JavaVersion.VERSION_1_8
  23. targetCompatibility JavaVersion.VERSION_1_8
  24. }
  25. }
  26. dependencies {
  27. implementation 'com.jakewharton.timber:timber:4.7.1'
  28. implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'
  29. implementation 'com.google.android.material:material:1.2.1'
  30. implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
  31. testImplementation 'junit:junit:4.+'
  32. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  33. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  34. implementation 'com.github.bumptech.glide:glide:4.11.0'
  35. implementation 'org.greenrobot:eventbus:3.2.0'
  36. implementation 'com.tencent:mmkv-static:1.2.12'
  37. // Okhttp库
  38. implementation 'com.google.code.gson:gson:2.8.5'
  39. }