-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
50 lines (44 loc) · 1.35 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
50 lines (44 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
plugins {
kotlin("jvm") version "2.1.10"
id("app.cash.sqldelight") version "2.0.2"
application
id("com.github.johnrengelman.shadow") version "8.1.1"
}
repositories {
mavenCentral()
}
dependencies {
implementation(platform("org.http4k:http4k-bom:6.1.0.1"))
implementation("org.http4k:http4k-core")
implementation("org.http4k:http4k-format-moshi")
implementation("org.http4k:http4k-format-jackson")
implementation("org.http4k:http4k-server-jetty")
implementation("org.http4k:http4k-api-openapi")
implementation("app.cash.sqldelight:jdbc-driver:2.0.2")
implementation("com.zaxxer:HikariCP:6.2.1")
runtimeOnly("mysql:mysql-connector-java:8.0.33")
implementation("org.http4k:http4k-config")
implementation("com.auth0:java-jwt:4.5.0")
implementation("com.auth0:jwks-rsa:0.22.1")
testImplementation("org.http4k:http4k-testing-kotest")
testImplementation("org.http4k:http4k-testing-approval")
testImplementation("com.h2database:h2:2.3.232")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(21)
}
sqldelight {
databases {
create("Database") {
packageName.set("dev.andrewohara.cats")
dialect("app.cash.sqldelight:mysql-dialect:2.0.2")
}
}
}
application {
mainClass = "dev.andrewohara.cats.MainKt"
}