build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 30
  4. defaultConfig {
  5. minSdkVersion 21
  6. targetSdkVersion 30
  7. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  8. consumerProguardFiles "consumer-rules.pro"
  9. }
  10. buildTypes {
  11. release {
  12. minifyEnabled false
  13. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  14. }
  15. }
  16. compileOptions {
  17. sourceCompatibility JavaVersion.VERSION_1_8
  18. targetCompatibility JavaVersion.VERSION_1_8
  19. }
  20. sourceSets {
  21. main {
  22. jniLibs.srcDirs = ['libs']
  23. }
  24. }
  25. }
  26. dependencies {
  27. api fileTree(dir: 'libs', include: ['*.jar','*.aar'])
  28. implementation 'androidx.appcompat:appcompat:1.3.0'
  29. implementation 'com.google.android.material:material:1.4.0'
  30. testImplementation 'junit:junit:4.13.2'
  31. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  32. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  33. implementation project(':rong_im:im_lib')
  34. implementation project(':rong_im:kit')
  35. implementation project(':BaseLibrary')
  36. implementation project(':usercenter')
  37. }