build.gradle 962 B

123456789101112131415161718192021222324252627282930313233
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 27
  4. defaultConfig {
  5. minSdkVersion 21
  6. targetSdkVersion 27
  7. versionCode 1
  8. versionName "1.0"
  9. testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
  10. }
  11. buildTypes {
  12. release {
  13. minifyEnabled false
  14. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  15. }
  16. }
  17. }
  18. dependencies {
  19. implementation fileTree(include: ['*.jar'], dir: 'libs')
  20. implementation 'androidx.appcompat:appcompat:1.0.0'
  21. testImplementation 'junit:junit:4.12'
  22. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  23. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
  24. implementation 'com.github.bumptech.glide:glide:4.7.1'
  25. implementation 'com.google.android.material:material:1.0.0'
  26. implementation 'com.github.chrisbanes.photoview:library:1.2.4'
  27. }