build.gradle 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. plugins {
  2. id 'com.android.dynamic-feature'
  3. id 'org.jetbrains.kotlin.android'
  4. id 'org.jetbrains.kotlin.kapt'
  5. id 'kotlin-parcelize'
  6. }
  7. android {
  8. namespace 'com.adealink.weparty.gift'
  9. compileSdk libs.versions.compileSdk.get().toInteger()
  10. defaultConfig {
  11. minSdk libs.versions.minSdk.get().toInteger()
  12. resConfigs "zh", "en", "in"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. }
  15. buildTypes {
  16. release {
  17. debuggable false
  18. }
  19. }
  20. viewBinding {
  21. enabled = true
  22. }
  23. compileOptions {
  24. sourceCompatibility JavaVersion.VERSION_17
  25. targetCompatibility JavaVersion.VERSION_17
  26. }
  27. kotlinOptions {
  28. jvmTarget = JavaVersion.VERSION_17.majorVersion
  29. }
  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. }