统一IM方案,Android端sdk
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.2KB

  1. plugins {
  2. id 'com.android.application'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. android {
  6. namespace 'cn.org.bjca.trust.pushdemo'
  7. compileSdk 32
  8. defaultConfig {
  9. applicationId "cn.org.bjca.trust.pushdemo"
  10. minSdk 24
  11. targetSdk 32
  12. versionCode 1
  13. versionName "1.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. kotlinOptions {
  27. jvmTarget = '1.8'
  28. }
  29. }
  30. dependencies {
  31. implementation 'androidx.core:core-ktx:1.7.0'
  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 project(path: ':push')
  36. testImplementation 'junit:junit:4.13.2'
  37. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  38. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  39. }