build.gradle 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdkVersion rootProject.ext.compileSdkVersion
  6. buildToolsVersion rootProject.ext.build_tools_version
  7. defaultConfig {
  8. applicationId "com.wdkl.ncs.s433.receiver"
  9. minSdkVersion rootProject.ext.minSdkVersion
  10. targetSdkVersion rootProject.ext.targetSdkVersion
  11. versionCode rootProject.ext.versionCode
  12. versionName rootProject.ext.versionName
  13. ndk {
  14. //选择要添加的对应cpu类型的.so库。
  15. abiFilters 'armeabi-v7a', 'armeabi-v8a', 'armeabi-v8a'
  16. }
  17. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  18. }
  19. signingConfigs {
  20. release {
  21. storeFile file("keystore_wuyuqing_3128/rk3128.jks")
  22. storePassword "111111"
  23. keyAlias "rk3128"
  24. keyPassword "111111"
  25. }
  26. debug {
  27. storeFile file("keystore_wuyuqing_3128/rk3128.jks")
  28. storePassword "111111"
  29. keyAlias "rk3128"
  30. keyPassword "111111"
  31. }
  32. }
  33. buildTypes {
  34. release {
  35. minifyEnabled false
  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. lintOptions{
  44. checkReleaseBuilds false
  45. abortOnError false
  46. }
  47. aaptOptions {
  48. noCompress "ttc", "mp3", "apk" //表示不让aapt压缩的文件后缀
  49. }
  50. }
  51. dependencies {
  52. implementation 'androidx.appcompat:appcompat:1.3.0'
  53. implementation 'com.google.android.material:material:1.4.0'
  54. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  55. implementation 'androidx.preference:preference:1.1.1'
  56. testImplementation 'junit:junit:4.13.2'
  57. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  58. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  59. implementation 'org.apache.commons:commons-text:1.6'
  60. /**
  61. * netty
  62. */
  63. implementation 'io.netty:netty-all:4.1.42.Final'
  64. implementation 'org.greenrobot:eventbus:3.0.0'
  65. implementation 'com.github.anrwatchdog:anrwatchdog:1.3.0'
  66. implementation project(':serialport')
  67. implementation project(':listenvision')
  68. /**
  69. * json
  70. */
  71. implementation 'com.alibaba:fastjson:1.2.23'
  72. implementation files('libs/log4j-1.2.17.jar')
  73. //志合api
  74. implementation files('libs/smdt.jar')
  75. }