build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 29
  4. defaultConfig {
  5. minSdkVersion 19
  6. targetSdkVersion 29
  7. versionCode 20210628
  8. versionName "5.1.3"
  9. }
  10. buildTypes {
  11. release {
  12. minifyEnabled false
  13. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  14. }
  15. debug{
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. preRelease{
  20. minifyEnabled false
  21. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  22. }
  23. }
  24. android {
  25. lintOptions {
  26. abortOnError false
  27. }
  28. }
  29. }
  30. dependencies {
  31. api fileTree(include: ['*.jar'], dir: 'libs')
  32. api project(':rong_im:kit')
  33. api "com.github.bumptech.glide:glide:$rootProject.ext.android.glide_version"
  34. annotationProcessor "com.github.bumptech.glide:compiler:$rootProject.ext.android.glide_version"
  35. }