build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdkVersion 31
  6. defaultConfig {
  7. applicationId "epson.print"
  8. minSdkVersion 16
  9. targetSdkVersion 31
  10. versionCode 1
  11. versionName "1.0"
  12. multiDexEnabled true
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. }
  15. buildTypes {
  16. debug {
  17. minifyEnabled false
  18. multiDexEnabled false
  19. }
  20. release {
  21. minifyEnabled true
  22. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  23. multiDexEnabled true
  24. }
  25. }
  26. compileOptions {
  27. sourceCompatibility JavaVersion.VERSION_1_8
  28. targetCompatibility JavaVersion.VERSION_1_8
  29. }
  30. flavorDimensions 'flavor1'
  31. productFlavors {
  32. produdctflavor {
  33. dimension 'flavor1'
  34. }
  35. }
  36. }
  37. dependencies {
  38. implementation 'androidx.appcompat:appcompat:1.2.0'
  39. implementation 'com.google.android.material:material:1.2.1'
  40. implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
  41. implementation 'androidx.multidex:multidex:2.0.1'
  42. implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
  43. testImplementation 'junit:junit:4.+'
  44. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  45. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  46. }