-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
48 lines (40 loc) · 1.06 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
44
45
46
47
48
plugins {
kotlin("jvm") version "2.0.0-Beta3"
id("com.github.ben-manes.versions") version "0.51.0"
id("se.patrikerdes.use-latest-versions") version "0.2.18"
id("org.jlleitschuh.gradle.ktlint") version "12.1.0"
id("org.jetbrains.dokka") version "1.9.10"
application
}
application {
mainClass.set("be.amedee.adventofcode.AppKt")
}
group = "be.amedee"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib"))
testImplementation("org.jetbrains.kotlin:kotlin-test")
testImplementation("io.kotest:kotest-core:4.2.0.RC2")
testImplementation("io.kotest:kotest-assertions-core:5.6.2")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
tasks.test {
useJUnitPlatform()
testLogging {
events("skipped", "passed", "failed")
showStandardStreams = true
}
}
tasks.named("run") {
dependsOn(tasks.test)
group = "application"
}
tasks.dokkaJavadoc {
outputDirectory.set(layout.buildDirectory.dir("docs/javadoc"))
}
kotlin {
jvmToolchain(21)
}