build.gradle 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. signingConfigs {
  17. debug {
  18. storeFile file(MYAPP_RELEASE_STORE_FILE)
  19. storePassword MYAPP_RELEASE_STORE_PASSWORD
  20. keyAlias MYAPP_RELEASE_KEY_ALIAS
  21. keyPassword MYAPP_RELEASE_KEY_PASSWORD
  22. }
  23. }
  24. buildTypes {
  25. release {
  26. signingConfig signingConfigs.debug
  27. minifyEnabled false
  28. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  29. signingConfig signingConfigs.debug
  30. }
  31. }
  32. compileOptions {
  33. sourceCompatibility JavaVersion.VERSION_1_8
  34. targetCompatibility JavaVersion.VERSION_1_8
  35. }
  36. buildFeatures {
  37. viewBinding true
  38. }
  39. sourceSets {
  40. main {
  41. jniLibs.srcDirs = ['libs']
  42. }
  43. }
  44. }
  45. dependencies {
  46. implementation fileTree(include: ['*.jar','*.aar'], dir: 'libs')
  47. api project(path: ':SzyxImSdk')
  48. api project(path: ':SzyxPushSdk')
  49. implementation 'androidx.appcompat:appcompat:1.4.2'
  50. implementation 'com.google.android.material:material:1.5.0'
  51. implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
  52. implementation 'androidx.annotation:annotation:1.3.0'
  53. implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.4.1'
  54. implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1'
  55. testImplementation 'junit:junit:4.13.2'
  56. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  57. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  58. //基础库
  59. implementation 'cn.org.bjca.trust.android:base:0.0.1.101'
  60. }