2023-01-21 10:37:07 -05:00
|
|
|
plugins {
|
2024-04-06 01:07:11 -04:00
|
|
|
id("mihon.library")
|
2023-01-21 10:37:07 -05:00
|
|
|
kotlin("android")
|
2023-04-29 22:14:49 -04:00
|
|
|
kotlin("plugin.serialization")
|
2024-09-03 04:09:12 -04:00
|
|
|
alias(libs.plugins.sqldelight)
|
2023-01-21 10:37:07 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
|
|
|
namespace = "tachiyomi.data"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
|
|
}
|
|
|
|
|
|
|
|
sqldelight {
|
2023-06-24 22:49:36 -04:00
|
|
|
databases {
|
|
|
|
create("Database") {
|
|
|
|
packageName.set("tachiyomi.data")
|
|
|
|
dialect(libs.sqldelight.dialects.sql)
|
|
|
|
schemaOutputDirectory.set(project.file("./src/main/sqldelight"))
|
|
|
|
}
|
2023-01-21 10:37:07 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-31 10:17:27 -04:00
|
|
|
kotlin {
|
|
|
|
compilerOptions {
|
|
|
|
freeCompilerArgs.add("-opt-in=kotlinx.serialization.ExperimentalSerializationApi")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-21 10:37:07 -05:00
|
|
|
dependencies {
|
2024-01-23 07:35:58 -05:00
|
|
|
implementation(projects.sourceApi)
|
|
|
|
implementation(projects.domain)
|
2024-01-29 04:11:28 -05:00
|
|
|
implementation(projects.core.common)
|
2023-02-20 19:02:38 -05:00
|
|
|
|
2023-06-24 22:49:36 -04:00
|
|
|
api(libs.bundles.sqldelight)
|
2023-01-21 10:37:07 -05:00
|
|
|
}
|