build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdkVersion 34
  6. buildToolsVersion "34.0.0"
  7. defaultConfig {
  8. applicationId "com.seller"
  9. minSdkVersion 21
  10. targetSdkVersion 34
  11. versionCode 23122703
  12. versionName "v2023.12.27-03"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. ndk {
  15. abiFilters 'armeabi'
  16. }
  17. }
  18. buildTypes {
  19. release {
  20. minifyEnabled false
  21. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  22. }
  23. }
  24. sourceSets {
  25. main {
  26. jniLibs.srcDirs = ['libs']
  27. }
  28. }
  29. compileOptions {
  30. sourceCompatibility JavaVersion.VERSION_1_8
  31. targetCompatibility JavaVersion.VERSION_1_8
  32. }
  33. }
  34. dependencies {
  35. implementation 'androidx.appcompat:appcompat:1.1.0'
  36. implementation 'com.google.android.material:material:1.1.0'
  37. implementation fileTree(include: ['*.jar'], dir: 'libs')
  38. implementation "com.squareup.okhttp3:okhttp:3.10.0"
  39. implementation "com.alibaba:fastjson:1.1.55.android"
  40. // implementation 'com.github.cl-6666:serialPort:v3.1.7'
  41. testImplementation 'junit:junit:4.+'
  42. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  43. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  44. }