build.gradle 681 B

123456789101112131415161718192021222324252627282930313233
  1. plugins {
  2. alias(libs.plugins.kotlin.android)
  3. id("com.android.library")
  4. }
  5. android {
  6. namespace = "com.narutohuo.xindazhou.qrcode"
  7. compileSdk = 36
  8. defaultConfig {
  9. minSdk = 26
  10. }
  11. compileOptions {
  12. sourceCompatibility = JavaVersion.VERSION_17
  13. targetCompatibility = JavaVersion.VERSION_17
  14. }
  15. kotlinOptions {
  16. jvmTarget = "17"
  17. }
  18. }
  19. dependencies {
  20. // 依赖base-core(所有SDK都依赖这个)
  21. implementation(project(":base-core"))
  22. // AndroidX Core
  23. implementation(libs.androidx.core.ktx)
  24. // 华为扫码SDK(待添加具体版本)
  25. // implementation 'com.huawei.hms:scan:xxx'
  26. }