Module sqldelight-db2-dialect
A DB2 dialect for SqlDelight using JDBC.
Install
This package is uploaded to MavenCentral and supports the JVM.
plugins {
kotlin("jvm") version "1.7.10"
id("app.cash.sqldelight") version "2.0.0-SNAPSHOT"
}
repositories {
maven(url = "https://oss.sonatype.org/content/repositories/snapshots")
mavenCentral()
}
dependencies {
implementation("app.cash.sqldelight:jdbc-driver:2.0.0-SNAPSHOT")
testImplementation(kotlin("test-junit"))
testImplementation("org.testcontainers:db2:1.17.3")
testImplementation("com.ibm.db2:jcc:11.5.7.0")
testRuntimeOnly("ch.qos.logback:logback-classic:1.2.11")
}
sqldelight {
database("Db2Database") {
dialect("app.softwork:sqldelight-db2-dialect:LATEST")
}
}
// settings.gradle.kts
pluginManagement {
repositories {
maven(url = "https://oss.sonatype.org/content/repositories/snapshots")
gradlePluginPortal()
}
}
License
Apache 2