build.gradle 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 28
  4. defaultConfig {
  5. applicationId "com.huantansheng.easyphotos.demo"
  6. minSdkVersion 15
  7. targetSdkVersion 28
  8. versionCode 2
  9. versionName "1.0.2"
  10. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. }
  19. dependencies {
  20. implementation fileTree(include: ['*.jar'], dir: 'libs')
  21. implementation 'com.android.support:appcompat-v7:28.0.0'
  22. implementation 'com.android.support:support-v4:28.0.0'
  23. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  24. implementation 'com.android.support:design:28.0.0'
  25. implementation 'com.android.support:recyclerview-v7:28.0.0'
  26. /*implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  27. implementation 'androidx.appcompat:appcompat:1.1.0'
  28. implementation 'androidx.recyclerview:recyclerview:1.1.0'
  29. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  30. implementation 'com.google.android.material:material:1.1.0'*/
  31. testImplementation 'junit:junit:4.12'
  32. implementation project(':easyPhotos')
  33. implementation("com.github.bumptech.glide:glide:4.9.0") {
  34. exclude group: "com.android.support"
  35. }
  36. annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
  37. //检测内存泄漏
  38. debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.4'
  39. releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'
  40. }