build.gradle 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdkVersion rootProject.ext.android.compileSdkVersion
  6. defaultConfig {
  7. minSdkVersion rootProject.ext.android.minSdkVersion
  8. targetSdkVersion rootProject.ext.android.targetSdkVersion
  9. versionCode rootProject.ext.android.versionCode
  10. versionName rootProject.ext.android.versionName
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. consumerProguardFiles "consumer-rules.pro"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. buildFeatures{
  25. viewBinding = true
  26. }
  27. }
  28. dependencies {
  29. implementation 'androidx.appcompat:appcompat:1.3.0'
  30. implementation 'com.google.android.material:material:1.4.0'
  31. testImplementation 'junit:junit:4.13.2'
  32. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  33. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  34. implementation project(':BaseLibrary')
  35. implementation project(':rong_im:kit')
  36. }