mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 21:07:04 +05:30
30 lines
805 B
Kotlin
30 lines
805 B
Kotlin
/*
|
|
* Copyright © 2021-2023 Harsh Shandilya.
|
|
* Use of this source code is governed by an MIT-style
|
|
* license that can be found in the LICENSE file or at
|
|
* https://opensource.org/licenses/MIT.
|
|
*/
|
|
import dev.msfjarvis.claw.gradle.addTestDependencies
|
|
|
|
plugins {
|
|
id("dev.msfjarvis.claw.kotlin-jvm")
|
|
alias(libs.plugins.kotlin.serialization)
|
|
alias(libs.plugins.sqldelight)
|
|
}
|
|
|
|
sqldelight {
|
|
databases {
|
|
create("LobstersDatabase") {
|
|
packageName.set("dev.msfjarvis.claw.database")
|
|
schemaOutputDirectory.set(file("src/main/sqldelight/databases"))
|
|
verifyMigrations.set(true)
|
|
dialect(libs.sqldelight.dialect338)
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.kotlinx.serialization.core)
|
|
testImplementation(libs.kotlinx.serialization.json)
|
|
addTestDependencies(project)
|
|
}
|