海科结算台代码
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.

80 lines
2.6 KiB

  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 31
  4. buildToolsVersion '29.0.3'
  5. defaultConfig {
  6. applicationId "com.bpa.scalage"
  7. minSdkVersion 22
  8. targetSdkVersion 31
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. multiDexEnabled true
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. //启用对新语言API的支持的标志
  22. coreLibraryDesugaringEnabled true
  23. sourceCompatibility JavaVersion.VERSION_1_8
  24. targetCompatibility JavaVersion.VERSION_1_8
  25. }
  26. sourceSets {
  27. main{
  28. res.srcDirs=[
  29. 'src/main/res/layout/controlview',
  30. 'src/main/res/layout/page',
  31. 'src/main/res/layout/testcode',
  32. 'src/main/res/layout',
  33. 'src/main/res'
  34. ]
  35. }
  36. }
  37. }
  38. dependencies {
  39. implementation fileTree(dir: 'libs', include: ['*.jar'])
  40. implementation 'androidx.appcompat:appcompat:1.0.2'
  41. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  42. implementation 'androidx.legacy:legacy-support-v4:1.0.0'
  43. implementation 'com.google.android.material:material:1.4.+'
  44. implementation 'com.squareup.okhttp3:okhttp:4.9.1'
  45. implementation files('libs\\PC_RFID.jar')
  46. // implementation files('libs\\gson-2.2.2.jar')
  47. testImplementation 'junit:junit:4.12'
  48. androidTestImplementation 'androidx.test.ext:junit:1.1.0'
  49. androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
  50. implementation files('libs\\sdkapi.jar')
  51. compileOnly files('libs/sdkapi.jar')
  52. implementation 'com.lzy.net:okgo:3.0.4'
  53. // implementation 'com.google.code.gson:gson:2.8.0'
  54. // easyPermissions权限管理
  55. implementation 'pub.devrel:easypermissions:2.0.1'
  56. // QMUI框架
  57. // implementation 'com.qmuiteam:arch:2.0.0-alpha10'
  58. // implementation 'com.qmuiteam:qmui:2.0.0-alpha10'
  59. //下载进度条
  60. // implementation 'com.github.Ccapton:Android-ColorfulProgressBar:1.0.5'
  61. //图片加载
  62. implementation 'com.github.bumptech.glide:glide:4.11.0'
  63. annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
  64. implementation 'com.github.xingshuangs:iot-communication:1.5.0'
  65. implementation "org.projectlombok:lombok:1.16.18"
  66. implementation 'org.glassfish:javax.annotation:10.0-b28'
  67. coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
  68. }