2023-05-21 15:52:06 +03:00
|
|
|
plugins {
|
|
|
|
id("com.android.library")
|
|
|
|
kotlin("android")
|
|
|
|
id("com.squareup.sqldelight")
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "tachiyomi.data"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
|
|
}
|
|
|
|
|
|
|
|
sqldelight {
|
|
|
|
database("Database") {
|
|
|
|
packageName = "tachiyomi.data"
|
|
|
|
dialect = "sqlite:3.24"
|
|
|
|
sourceFolders = listOf("sqldelight")
|
|
|
|
}
|
|
|
|
database("AnimeDatabase") {
|
|
|
|
packageName = "tachiyomi.mi.data"
|
|
|
|
dialect = "sqlite:3.24"
|
|
|
|
sourceFolders = listOf("sqldelightanime")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(project(":source-api"))
|
2023-05-23 23:37:41 +03:00
|
|
|
implementation(project(":domain"))
|
2023-05-24 14:29:01 +03:00
|
|
|
implementation(project(":core"))
|
2023-05-21 15:52:06 +03:00
|
|
|
api(libs.sqldelight.android.driver)
|
|
|
|
api(libs.sqldelight.coroutines)
|
|
|
|
api(libs.sqldelight.android.paging)
|
|
|
|
}
|