零售收银终端CheckoutPad_ox_as
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.

55 lines
1.9 KiB

  1. //plugins {
  2. // id 'com.android.library'
  3. //}
  4. apply plugin: 'com.android.library'
  5. android {
  6. compileSdkVersion 33
  7. buildToolsVersion "33.0.1"
  8. defaultConfig {
  9. minSdkVersion 21
  10. targetSdkVersion 33
  11. versionCode 1
  12. versionName "1.0"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. consumerProguardFiles "consumer-rules.pro"
  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. }
  27. dependencies {
  28. compileOnly fileTree(dir: 'libs', include: ['*.jar'])
  29. // compileOnly fileTree(dir: '../app/libs', include: ['uniapp-v8-release.aar'])
  30. // implementation 'androidx.appcompat:appcompat:1.2.0'
  31. // implementation 'com.google.android.material:material:1.2.1'
  32. // testImplementation 'junit:junit:4.+'
  33. // androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  34. // androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  35. // implementation fileTree(dir: '../app/libs', include: ['uniapp-v8-release.aar'])
  36. // compileOnly 'com.alibaba:fastjson:1.1.46.android'
  37. // compileOnly 'com.alibaba:fastjson:1.2.83' //uni离线SDK升级后升级
  38. implementation files('libs\\printersdkv5.7.2.jar')
  39. //必须添加的依赖
  40. compileOnly 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
  41. compileOnly 'androidx.core:core:1.1.0'
  42. compileOnly 'androidx.fragment:fragment:1.1.0'
  43. compileOnly 'androidx.appcompat:appcompat:1.1.0'
  44. compileOnly 'androidx.recyclerview:recyclerview:1.1.0'
  45. compileOnly 'com.alibaba:fastjson:1.2.83'
  46. compileOnly fileTree(include: ['uniapp-v8-release.aar'], dir: '../app/libs')
  47. }