build.gradle 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. plugins {
  2. id 'com.android.dynamic-feature'
  3. id 'org.jetbrains.kotlin.android'
  4. id 'org.jetbrains.kotlin.kapt'
  5. }
  6. android {
  7. namespace 'com.adealink.weparty.image'
  8. compileSdk libs.versions.compileSdk.get().toInteger()
  9. defaultConfig {
  10. minSdk libs.versions.minSdk.get().toInteger()
  11. resConfigs "zh", "en", "in"
  12. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  13. }
  14. buildTypes {
  15. release {
  16. debuggable false
  17. }
  18. }
  19. compileOptions {
  20. sourceCompatibility JavaVersion.VERSION_17
  21. targetCompatibility JavaVersion.VERSION_17
  22. }
  23. kotlinOptions {
  24. jvmTarget = JavaVersion.VERSION_17.majorVersion
  25. }
  26. viewBinding {
  27. enabled = true
  28. }
  29. namespace 'com.adealink.weparty.image'
  30. }
  31. dependencies {
  32. implementation project(":app")
  33. //frame
  34. kapt libs.frame.router.compiler
  35. //test
  36. testImplementation libs.junit
  37. androidTestImplementation libs.androidx.junit
  38. androidTestImplementation libs.androidx.espresso.core
  39. }