build.gradle.kts 544 B

123456789101112131415161718192021222324252627
  1. plugins {
  2. id("com.android.library")
  3. kotlin("android")
  4. id("com.squareup.sqldelight")
  5. }
  6. android {
  7. namespace = "tachiyomi.data"
  8. defaultConfig {
  9. consumerProguardFiles("consumer-rules.pro")
  10. }
  11. sqldelight {
  12. database("Database") {
  13. packageName = "tachiyomi.data"
  14. dialect = "sqlite:3.24"
  15. }
  16. }
  17. }
  18. dependencies {
  19. implementation(project(":source-api"))
  20. api(libs.sqldelight.android.driver)
  21. api(libs.sqldelight.coroutines)
  22. api(libs.sqldelight.android.paging)
  23. }