-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
46 lines (35 loc) · 1.24 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
// https://gradle.org/releases/
// ./gradlew wrapper --gradle-version=8.12 --distribution-type=BIN
plugins {
// https://mvnrepository.com/artifact/org.jetbrains.kotlin.jvm/org.jetbrains.kotlin.jvm.gradle.plugin
kotlin("jvm") version "2.1.0"
}
group = "io.github.alexswilliams"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("test"))
testImplementation(kotlin("reflect"))
// https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-collections-immutable
implementation("org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.8")
// https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.1")
// https://mvnrepository.com/artifact/com.github.ajalt.mordant/mordant
implementation("com.github.ajalt.mordant:mordant:3.0.1")
}
tasks.getByName<Test>("test") {
useJUnitPlatform()
}
sourceSets.main {
kotlin.srcDirs("2019/src", "2022", "2023", "2024", "common/src/main/kotlin")
resources.srcDirs("2019/resources", "2022", "2023", "2024")
kotlin.exclude("2020")
}
sourceSets.test {
kotlin.srcDirs("common/src/test/kotlin")
}
kotlin {
jvmToolchain(21)
}