generated from andilau/advent-of-code-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
50 lines (41 loc) · 1 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
49
50
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")
}
kotlin {
jvmToolchain(17)
sourceSets.all {
languageSettings {
languageVersion = "2.0"
}
}
}
tasks {
withType<KotlinCompile> {
kotlinOptions.freeCompilerArgs = listOf("-Xjsr305=strict")
}
}
testing {
suites {
val test by getting(JvmTestSuite::class) {
useJUnitJupiter()
}
}
}