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

59 lines
1.8 KiB

1 year ago
  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. ndk {
  16. // Specifies the ABI configurations of your native
  17. // libraries Gradle should build and package with your APK.
  18. // abiFilters 'armeabi-v7a', 'arm64-v8a'
  19. // abiFilters 'armeabi-v7a', 'armeabi'
  20. abiFilters 'armeabi-v7a'
  21. }
  22. }
  23. buildTypes {
  24. release {
  25. minifyEnabled false
  26. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  27. }
  28. }
  29. compileOptions {
  30. sourceCompatibility JavaVersion.VERSION_1_8
  31. targetCompatibility JavaVersion.VERSION_1_8
  32. }
  33. }
  34. //导入aar需要的配置
  35. //repositories {
  36. // flatDir {
  37. // dirs 'libs'
  38. // }
  39. //}
  40. dependencies {
  41. // compileOnly fileTree(dir: 'libs', include: ['*.jar'])
  42. // implementation 'androidx.appcompat:appcompat:1.2.0'
  43. // implementation 'com.google.android.material:material:1.2.1'
  44. // testImplementation 'junit:junit:4.+'
  45. // androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  46. // androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  47. // compileOnly fileTree(dir: '../app/libs', include: ['uniapp-v8-release.aar'])
  48. implementation fileTree(dir: '../app/libs', include: ['uniapp-v8-release.aar'])
  49. compileOnly 'com.alibaba:fastjson:1.1.46.android'
  50. implementation files('libs\\ph-1.2.2.jar')
  51. implementation files('libs\\sdkapi.jar')
  52. }