32 lines
672 B
Text
32 lines
672 B
Text
|
|
plugins {
|
||
|
|
id("breezy.library")
|
||
|
|
kotlin("android")
|
||
|
|
kotlin("plugin.serialization")
|
||
|
|
id("app.cash.sqldelight")
|
||
|
|
}
|
||
|
|
|
||
|
|
android {
|
||
|
|
namespace = "breezyweather.data"
|
||
|
|
|
||
|
|
defaultConfig {
|
||
|
|
consumerProguardFiles("consumer-rules.pro")
|
||
|
|
}
|
||
|
|
|
||
|
|
sqldelight {
|
||
|
|
databases {
|
||
|
|
create("Database") {
|
||
|
|
packageName.set("breezyweather.data")
|
||
|
|
dialect(libs.sqldelight.dialects.sql)
|
||
|
|
schemaOutputDirectory.set(project.file("./src/main/sqldelight"))
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
implementation(projects.domain)
|
||
|
|
implementation(projects.weatherUnit)
|
||
|
|
|
||
|
|
api(libs.bundles.sqldelight)
|
||
|
|
}
|