-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
43 lines (35 loc) · 903 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
38
39
40
41
42
43
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "2.0.0"
application
}
group = "me.abdkumar"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.8.1")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-debug:1.8.1")
implementation("io.arrow-kt:arrow-core:1.2.4")
implementation("com.google.code.gson:gson:2.10")
testImplementation(kotlin("test"))
testImplementation("org.assertj:assertj-core:3.26.0")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "21"
}
}
application {
mainClass.set("MainKt")
}