Files
supabase-mock-demo-kotlin/build.gradle.kts
Julien Lengrand-Lambert 14d6ecacc6 Add README
2023-10-20 17:53:34 +02:00

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")
}