Fred Bowker
01/27/2022, 3:41 PMhfhbd
01/27/2022, 3:54 PMplugins {
    kotlin("jvm") version "1.6.10"
    id("com.squareup.sqldelight") version "1.5.3"
}
repositories {
    mavenCentral()
}
dependencies {
    val sqlDelight = "1.5.3"
    // Apache 2, <https://github.com/cashapp/sqldelight>
    api("com.squareup.sqldelight:coroutines-extensions:$sqlDelight")
    api("com.squareup.sqldelight:jdbc-driver:$sqlDelight")
    // Apache 2, <https://github.com/hfhbd/kotlinx-uuid>
    api("app.softwork:kotlinx-uuid-sqldelight:0.0.12")
    // Apache 2, <https://github.com/Kotlin/kotlinx-datetime>
    api("org.jetbrains.kotlinx:kotlinx-datetime:0.3.2")
    // BSD 2, <https://github.com/pgjdbc/pgjdbc>
    api("org.postgresql:postgresql:42.3.1")
}
sqldelight {
    database("SchemaDB") {
        dialect = "postgresql"
        packageName = "wipma.schema"
        deriveSchemaFromMigrations = true
        verifyMigrations = true
    }
}Fred Bowker
01/27/2022, 3:58 PMFred Bowker
01/27/2022, 3:59 PMFred Bowker
01/27/2022, 3:59 PMbuildscript {
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath("com.squareup.sqldelight:gradle-plugin:1.5.3")
    }
}hfhbd
01/27/2022, 4:00 PMFred Bowker
01/27/2022, 4:08 PM