build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 30
  4. defaultConfig {
  5. minSdkVersion 19
  6. targetSdkVersion 30
  7. versionCode 20210813
  8. versionName "5.1.4.1"
  9. }
  10. buildTypes {
  11. release {
  12. minifyEnabled false
  13. proguardFiles getDefaultProguardFile('proguard-android-optimize.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. sourceSets {
  25. main {
  26. manifest.srcFile 'AndroidManifest.xml'
  27. res.srcDirs = ['res']
  28. jniLibs.srcDirs = ['libs']
  29. }
  30. }
  31. }
  32. dependencies {
  33. api fileTree(dir: 'libs', include: ['*.jar','*.aar'])
  34. api 'com.google.code.gson:gson:2.8.6'
  35. api 'cn.rongcloud.sdk:im_lib:5.2.4' // 即时通讯基础能力库
  36. }