refactor(database): split out JVM and Android parts

This commit is contained in:
Harsh Shandilya 2023-09-26 16:19:46 +05:30
parent 1b1984064c
commit 7b0b206905
No known key found for this signature in database
31 changed files with 33 additions and 19 deletions

View file

@ -0,0 +1,22 @@
/*
* 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.sqldelight)
}
sqldelight {
databases {
create("LobstersDatabase") {
packageName.set("dev.msfjarvis.claw.database")
schemaOutputDirectory.set(file("src/main/sqldelight/databases"))
verifyMigrations.set(true)
}
}
}