mirror of
https://github.com/aniyomiorg/aniyomi.git
synced 2024-11-23 13:23:28 +03:00
02864ebd60
* Move GitHub Release/App Update logic to data * Add tests for GetApplicationRelease * Review changes
40 lines
906 B
Text
40 lines
906 B
Text
plugins {
|
|
id("com.android.library")
|
|
kotlin("android")
|
|
kotlin("plugin.serialization")
|
|
id("com.squareup.sqldelight")
|
|
}
|
|
|
|
android {
|
|
namespace = "tachiyomi.data"
|
|
|
|
defaultConfig {
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
}
|
|
|
|
sqldelight {
|
|
database("Database") {
|
|
packageName = "tachiyomi.data"
|
|
dialect = "sqlite:3.24"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":source-api"))
|
|
implementation(project(":domain"))
|
|
implementation(project(":core"))
|
|
|
|
api(libs.sqldelight.android.driver)
|
|
api(libs.sqldelight.coroutines)
|
|
api(libs.sqldelight.android.paging)
|
|
}
|
|
|
|
tasks {
|
|
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
kotlinOptions.freeCompilerArgs += listOf(
|
|
"-Xcontext-receivers",
|
|
"-opt-in=kotlinx.serialization.ExperimentalSerializationApi",
|
|
)
|
|
}
|
|
}
|