mirror of
https://github.com/jlengrand/supabase-mock-demo-kotlin.git
synced 2026-03-10 00:31:18 +00:00
48 lines
1.1 KiB
Kotlin
48 lines
1.1 KiB
Kotlin
plugins {
|
|
kotlin("jvm") version "1.9.0"
|
|
id("org.jetbrains.kotlin.plugin.serialization") version "1.8.22"
|
|
|
|
application
|
|
}
|
|
|
|
group = "org.example"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation("io.ktor:ktor-client-cio:2.3.5")
|
|
|
|
implementation(platform("io.github.jan-tennert.supabase:bom:1.0.3"))
|
|
implementation("io.github.jan-tennert.supabase:postgrest-kt"){
|
|
exclude(group = "org.slf4j", module = "slf4j-api")
|
|
}
|
|
|
|
testImplementation(kotlin("test"))
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter:5.8.1")
|
|
testImplementation("org.testcontainers:junit-jupiter:1.19.0")
|
|
|
|
testImplementation("org.testcontainers:testcontainers:1.19.1")
|
|
testImplementation("org.testcontainers:postgresql:1.19.1")
|
|
|
|
testImplementation("org.postgresql:postgresql:42.3.8")
|
|
|
|
testImplementation("io.mockk:mockk:1.13.7")
|
|
testImplementation("io.ktor:ktor-client-mock:2.3.5")
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(8)
|
|
}
|
|
|
|
application {
|
|
mainClass.set("MainKt")
|
|
} |