build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. namespace 'cn.org.bjca.trust.android.imdemo'
  6. compileSdk 33
  7. buildFeatures.dataBinding = true
  8. defaultConfig {
  9. applicationId "cn.org.bjca.trust.android.imdemo"
  10. minSdk 26
  11. targetSdk 33
  12. versionCode 1
  13. versionName '1.0.0'
  14. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  20. }
  21. }
  22. compileOptions {
  23. sourceCompatibility JavaVersion.VERSION_1_8
  24. targetCompatibility JavaVersion.VERSION_1_8
  25. }
  26. buildFeatures {
  27. viewBinding true
  28. }
  29. }
  30. dependencies {
  31. api project(path: ':SzyxImSdk')
  32. implementation 'androidx.appcompat:appcompat:1.4.1'
  33. implementation 'com.google.android.material:material:1.5.0'
  34. implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
  35. implementation 'androidx.annotation:annotation:1.3.0'
  36. implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.4.1'
  37. implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1'
  38. testImplementation 'junit:junit:4.13.2'
  39. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  40. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  41. //基础库
  42. implementation 'cn.org.bjca.trust.android:base:0.0.1.101'
  43. }