学习机 新
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

76 líneas
2.1KB

  1. plugins {
  2. id 'com.android.application'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. android {
  6. namespace 'com.telpo.telpolinkservice'
  7. compileSdk 33
  8. defaultConfig {
  9. applicationId "com.telpo.telpolinkservice"
  10. minSdk 26
  11. targetSdk 33
  12. versionCode 1
  13. versionName "1.0.41"
  14. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  15. archivesBaseName("TelpoIOTService_${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. }
  47. dependencies {
  48. implementation 'androidx.core:core-ktx:1.8.0'
  49. implementation 'androidx.appcompat:appcompat:1.4.1'
  50. implementation 'com.google.android.material:material:1.5.0'
  51. implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
  52. implementation project(path: ':iotaidl')
  53. testImplementation 'junit:junit:4.13.2'
  54. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  55. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  56. implementation 'androidx.multidex:multidex:2.0.1'
  57. implementation 'com.blankj:utilcodex:1.31.1'
  58. implementation 'io.github.jeremyliao:live-event-bus-x:1.8.0'
  59. implementation 'com.squareup.retrofit2:retrofit:2.9.0'
  60. implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
  61. implementation 'com.aliyun.alink.linksdk:lp-iot-linkkit:1.7.3.2'
  62. }