-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
43 lines (34 loc) · 1.26 KB
/
build.gradle.kts
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
plugins {
kotlin
database
application
}
application {
mainClass.set("io.github.raphiz.ssr.AppKt")
}
group = "io.github.raphiz.ssr"
version = System.getenv("APP_VERSION") ?: "dirty"
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation(platform("org.http4k:http4k-bom:5.23.0.0"))
implementation("org.http4k:http4k-core")
implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:0.8.0")
implementation("org.json:json:20240303")
implementation("com.michael-bull.kotlin-result:kotlin-result:2.0.0")
testImplementation(platform("org.junit:junit-bom:5.10.2"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.junit.jupiter:junit-jupiter-engine")
testImplementation("io.strikt:strikt-core:0.34.1")
}
sourceSets {
main {
// Add vite artifacts to be served as static assets.
// Assets are added only for production builds via nix build.
// The development setup uses the vite development server instead.
output.dir(project.layout.buildDirectory.dir("resources/assets/"))
}
}
jooq.executions.getByName("").configuration.run {
generator.target.packageName = "io.github.raphiz.ssr.db"
}