学习机 新
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.

91 lines
2.8KB

  1. plugins {
  2. id 'com.android.application'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. android {
  6. namespace 'com.telpo.monitorservice'
  7. compileSdk 33
  8. defaultConfig {
  9. applicationId "com.telpo.monitorservice"
  10. minSdk 26
  11. targetSdk 33
  12. versionCode 1
  13. versionName "1.1.134"
  14. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  15. archivesBaseName("TelpoMonitorService_${versionName}")
  16. }
  17. signingConfigs {
  18. //系统应用调试
  19. debug {
  20. keyAlias 'platform'
  21. keyPassword '123456'
  22. storeFile file('config/platform.keystore')
  23. storePassword '123456'
  24. }
  25. release {
  26. keyAlias 'platform'
  27. keyPassword '123456'
  28. storeFile file('config/platform.keystore')
  29. storePassword '123456'
  30. }
  31. }
  32. buildTypes {
  33. release {
  34. minifyEnabled false
  35. signingConfig signingConfigs.release
  36. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  37. }
  38. }
  39. compileOptions {
  40. sourceCompatibility JavaVersion.VERSION_1_8
  41. targetCompatibility JavaVersion.VERSION_1_8
  42. }
  43. kotlinOptions {
  44. jvmTarget = '1.8'
  45. }
  46. sourceSets {
  47. main {
  48. jniLibs.srcDirs = ['libs']
  49. }
  50. }
  51. }
  52. dependencies {
  53. implementation 'androidx.core:core-ktx:1.8.0'
  54. implementation 'androidx.appcompat:appcompat:1.4.1'
  55. implementation 'com.google.android.material:material:1.5.0'
  56. implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
  57. implementation project(path: ':iotaidl')
  58. implementation files('libs\\reactor-core-3.3.17.RELEASE.jar')
  59. testImplementation 'junit:junit:4.13.2'
  60. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  61. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  62. implementation 'com.squareup.retrofit2:retrofit:2.9.0'
  63. implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
  64. implementation 'com.squareup.okhttp3:logging-interceptor:3.8.1'
  65. implementation 'io.github.jeremyliao:live-event-bus-x:1.8.0'
  66. implementation 'com.google.code.gson:gson:2.8.1'
  67. implementation 'com.blankj:utilcodex:1.31.1'
  68. implementation 'pub.devrel:easypermissions:3.0.0'
  69. // Jackson核心库
  70. implementation 'com.fasterxml.jackson.core:jackson-core:2.12.4'
  71. // Jackson数据绑定库
  72. implementation 'com.fasterxml.jackson.core:jackson-databind:2.12.4'
  73. implementation 'io.reactivex.rxjava2:rxjava:2.2.17'
  74. implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
  75. implementation 'com.alibaba:fastjson:1.2.54'
  76. implementation 'com.github.bumptech.glide:glide:4.12.0'
  77. implementation 'org.greenrobot:eventbus:3.2.0'
  78. }