build.gradle 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdkVersion 31
  6. defaultConfig {
  7. minSdkVersion 21
  8. targetSdkVersion 31
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. consumerProguardFiles "consumer-rules.pro"
  13. }
  14. sourceSets {
  15. main {
  16. jniLibs.srcDirs = ['libs']
  17. }
  18. }
  19. buildTypes {
  20. release {
  21. minifyEnabled false
  22. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  23. }
  24. }
  25. compileOptions {
  26. sourceCompatibility JavaVersion.VERSION_1_8
  27. targetCompatibility JavaVersion.VERSION_1_8
  28. }
  29. }
  30. dependencies {
  31. implementation 'org.greenrobot:eventbus:3.0.0'//
  32. implementation 'androidx.appcompat:appcompat:1.2.0'
  33. implementation 'com.google.android.material:material:1.3.0'
  34. testImplementation 'junit:junit:4.+'
  35. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  36. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  37. api files('libs/printersdkv5.6.jar')
  38. }