build.gradle.kts 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. plugins {
  2. id("com.android.library")
  3. id("org.jetbrains.kotlin.android")
  4. id("org.jetbrains.kotlin.kapt")
  5. }
  6. android {
  7. namespace = "com.zaojiao.app.feat.home"
  8. compileSdk = 33
  9. defaultConfig {
  10. minSdk = 27
  11. }
  12. compileOptions {
  13. sourceCompatibility = JavaVersion.VERSION_11
  14. targetCompatibility = JavaVersion.VERSION_11
  15. }
  16. composeOptions {
  17. kotlinCompilerExtensionVersion = "1.4.7"
  18. }
  19. buildFeatures.compose = true
  20. kotlinOptions {
  21. jvmTarget = "11"
  22. }
  23. }
  24. dependencies {
  25. implementation(project(":feat:common"))
  26. implementation("androidx.core:core-ktx:1.10.1")
  27. implementation("com.google.dagger:dagger:2.44.2")
  28. kapt("com.google.dagger:dagger-compiler:2.44.2")
  29. implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1")
  30. implementation(platform("androidx.compose:compose-bom:2023.05.01"))
  31. implementation("androidx.compose.ui:ui")
  32. implementation("androidx.compose.runtime:runtime")
  33. implementation("androidx.compose.foundation:foundation")
  34. implementation("androidx.compose.material3:material3")
  35. implementation("androidx.compose.ui:ui-tooling-preview")
  36. }