build.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 29
  4. resourcePrefix "image_"
  5. defaultConfig {
  6. minSdkVersion 14
  7. targetSdkVersion 29
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  11. javaCompileOptions {
  12. annotationProcessorOptions {
  13. arguments = [AROUTER_MODULE_NAME: project.getName()]
  14. }
  15. }
  16. }
  17. buildTypes {
  18. release {
  19. minifyEnabled false
  20. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  21. }
  22. }
  23. }
  24. dependencies {
  25. implementation fileTree(include: ['*.jar'], dir: 'libs')
  26. testImplementation 'junit:junit:4.12'
  27. androidTestImplementation 'com.android.support.test:runner:1.0.1'
  28. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
  29. implementation 'com.android.support:appcompat-v7:26.1.0'
  30. implementation 'com.facebook.fresco:fresco:1.7.1'
  31. // compile 'com.facebook.fresco:animated-gif:1.7.1'
  32. //
  33. // compile 'com.facebook.fresco:animated-webp:1.7.1'
  34. // compile 'com.facebook.fresco:webpsupport:1.7.1'
  35. implementation 'com.android.support:recyclerview-v7:26.1.0'
  36. }