build.gradle 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. plugins {
  2. id 'com.android.library'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. android {
  6. namespace 'im.angry.openeuicc.common'
  7. compileSdk 34
  8. defaultConfig {
  9. minSdk 30
  10. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  11. consumerProguardFiles "consumer-rules.pro"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. compileOptions {
  20. sourceCompatibility JavaVersion.VERSION_1_8
  21. targetCompatibility JavaVersion.VERSION_1_8
  22. }
  23. kotlinOptions {
  24. jvmTarget = '1.8'
  25. }
  26. }
  27. dependencies {
  28. implementation project(":libs:lpac-jni")
  29. implementation 'androidx.core:core-ktx:1.12.0'
  30. implementation 'androidx.appcompat:appcompat:1.6.1'
  31. implementation 'com.google.android.material:material:1.10.0'
  32. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  33. implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.2'
  34. implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
  35. implementation "androidx.cardview:cardview:1.0.0"
  36. implementation 'com.journeyapps:zxing-android-embedded:4.3.0'
  37. testImplementation 'junit:junit:4.13.2'
  38. androidTestImplementation 'androidx.test.ext:junit:1.1.5'
  39. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  40. }