generated from andilau/advent-of-code-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
37 lines (30 loc) · 852 Bytes
/
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
application
kotlin("jvm") version "2.1.0"
}
application {
mainClass.set("util.Runner")
}
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.1")
implementation("org.reflections:reflections:0.10.2")
implementation("org.slf4j:slf4j-nop:2.0.16")
testApi("org.junit.jupiter:junit-jupiter-engine:5.11.4")
testImplementation("org.assertj:assertj-core:3.27.0")
}
tasks {
withType<KotlinCompile> {
kotlinOptions.jvmTarget = "17"
kotlinOptions.freeCompilerArgs = listOf("-Xjsr305=strict")
}
test {
useJUnitPlatform()
}
}